Example usage for Java org.apache.hadoop.hdfs.server.datanode DataNode fields, constructors, methods, implement or subclass
The text is from its open source code.
DataNode | createDataNode(String args[], Configuration conf) Instantiate & Start a single datanode daemon and wait for it to finish. |
DataNode | createDataNode(String args[], Configuration conf, SecureResources resources) Instantiate & Start a single datanode daemon and wait for it to finish. |
DatanodeID | getDatanodeId() |
String | getDisplayName() |
int | getIpcPort() |
InetSocketAddress | getXferAddress() NB: The datanode can perform data transfer on the streaming address however clients are given the IPC IP address for data transfer, and that may be a different address. |
DataNode | instantiateDataNode(String args[], Configuration conf, SecureResources resources) Instantiate a single datanode object, along with its secure resources. |
DataNode | instantiateDataNode(String args[], Configuration conf) Instantiate a single datanode object. |
void | main(String args[]) |
void | refreshNamenodes(Configuration conf) |
void | runDatanodeDaemon() Start a single datanode daemon and wait for it to finish. |
void | shutdown() Shut down this instance of the datanode. |