hudson.plugins.hadoop
Class PluginImpl
java.lang.Object
hudson.Plugin
hudson.plugins.hadoop.PluginImpl
- All Implemented Interfaces:
- hudson.model.Saveable
public class PluginImpl
- extends hudson.Plugin
Hadoop plugin.
- Author:
- Kohsuke Kawaguchi
Nested classes/interfaces inherited from class hudson.Plugin |
hudson.Plugin.DummyImpl |
Fields inherited from interface hudson.model.Saveable |
NOOP |
Methods inherited from class hudson.Plugin |
configure, configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JOB_TRACKER_PORT_NUMBER
public static final int JOB_TRACKER_PORT_NUMBER
- Job tracker port number.
- See Also:
- Constant Field Values
PluginImpl
public PluginImpl()
start
public void start()
throws java.lang.Exception
- Overrides:
start
in class hudson.Plugin
- Throws:
java.lang.Exception
getHdfsUrl
public java.lang.String getHdfsUrl()
throws java.net.MalformedURLException
- Determines the HDFS URL.
- Throws:
java.net.MalformedURLException
getHdfsAddress
public java.net.InetSocketAddress getHdfsAddress()
throws java.net.MalformedURLException
- Determines the HDFS connection endpoint.
- Throws:
java.net.MalformedURLException
createDFSClient
public org.apache.hadoop.hdfs.DFSClient createDFSClient()
throws java.io.IOException
- Connects to this HDFS.
- Throws:
java.io.IOException
getJobTrackerAddress
public java.lang.String getJobTrackerAddress()
throws java.net.MalformedURLException
- Determines the job tracker address.
- Throws:
java.net.MalformedURLException
postInit
public void postInit()
throws java.io.IOException,
java.lang.InterruptedException
- Throws:
java.io.IOException
java.lang.InterruptedException
stop
public void stop()
throws java.lang.Exception
- Overrides:
stop
in class hudson.Plugin
- Throws:
java.lang.Exception
get
public static PluginImpl get()
Copyright © 2004-2011. All Rights Reserved.