Java org.apache.hadoop.hdfs.server.datanode DataNode fields, constructors, methods, implement or subclass

Example usage for Java org.apache.hadoop.hdfs.server.datanode DataNode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.hadoop.hdfs.server.datanode DataNode.

The text is from its open source code.

Method

DataNodecreateDataNode(String args[], Configuration conf)
Instantiate & Start a single datanode daemon and wait for it to finish.
DataNodecreateDataNode(String args[], Configuration conf, SecureResources resources)
Instantiate & Start a single datanode daemon and wait for it to finish.
DatanodeIDgetDatanodeId()
StringgetDisplayName()
intgetIpcPort()
InetSocketAddressgetXferAddress()
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.
DataNodeinstantiateDataNode(String args[], Configuration conf, SecureResources resources)
Instantiate a single datanode object, along with its secure resources.
DataNodeinstantiateDataNode(String args[], Configuration conf)
Instantiate a single datanode object.
voidmain(String args[])
voidrefreshNamenodes(Configuration conf)
voidrunDatanodeDaemon()
Start a single datanode daemon and wait for it to finish.
voidshutdown()
Shut down this instance of the datanode.