程序包 | 说明 |
---|---|
org.apache.hadoop.hdfs.server.datanode |
限定符和类型 | 方法和说明 |
---|---|
static DataNode |
DataNode.createDataNode(String[] args,
Configuration conf)
Instantiate & Start a single datanode daemon and wait for it to finish.
|
static DataNode |
DataNode.createDataNode(String[] args,
Configuration conf,
SecureDataNodeStarter.SecureResources resources)
Instantiate & Start a single datanode daemon and wait for it to finish.
|
protected DataNode |
UpgradeObjectDatanode.getDatanode() |
static DataNode |
DataNode.getDataNode()
Return the DataNode object
|
static DataNode |
DataNode.instantiateDataNode(String[] args,
Configuration conf)
Instantiate a single datanode object.
|
static DataNode |
DataNode.instantiateDataNode(String[] args,
Configuration conf,
SecureDataNodeStarter.SecureResources resources)
Instantiate a single datanode object.
|
static DataNode |
DataNode.makeInstance(String[] dataDirs,
Configuration conf,
SecureDataNodeStarter.SecureResources resources)
Make an instance of DataNode after ensuring that at least one of the
given data directories (and their parent directories, if necessary)
can be created.
|
限定符和类型 | 方法和说明 |
---|---|
static void |
DataNode.runDatanodeDaemon(DataNode dn)
Start a single datanode daemon and wait for it to finish.
|
Copyright © 2009 The Apache Software Foundation