|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DatanodeCommand | |
---|---|
org.apache.hadoop.hdfs.server.namenode | |
org.apache.hadoop.hdfs.server.protocol |
Uses of DatanodeCommand in org.apache.hadoop.hdfs.server.namenode |
---|
Methods in org.apache.hadoop.hdfs.server.namenode that return DatanodeCommand | |
---|---|
DatanodeCommand |
NameNode.blockReport(DatanodeRegistration nodeReg,
long[] blocks)
|
DatanodeCommand[] |
NameNode.sendHeartbeat(DatanodeRegistration nodeReg,
long capacity,
long dfsUsed,
long remaining,
int xmitsInProgress,
int xceiverCount)
Data node notify the name node that it is alive Return an array of block-oriented commands for the datanode to execute. |
Uses of DatanodeCommand in org.apache.hadoop.hdfs.server.protocol |
---|
Subclasses of DatanodeCommand in org.apache.hadoop.hdfs.server.protocol | |
---|---|
class |
BlockCommand
A BlockCommand is an instruction to a datanode regarding some blocks under its control. |
class |
BlockRecoveryCommand
BlockRecoveryCommand is an instruction to a data-node to recover the specified blocks. |
class |
KeyUpdateCommand
|
class |
UpgradeCommand
This as a generic distributed upgrade command. |
Fields in org.apache.hadoop.hdfs.server.protocol declared as DatanodeCommand | |
---|---|
static DatanodeCommand |
DatanodeCommand.FINALIZE
|
static DatanodeCommand |
DatanodeCommand.REGISTER
|
Methods in org.apache.hadoop.hdfs.server.protocol that return DatanodeCommand | |
---|---|
DatanodeCommand |
DatanodeProtocol.blockReport(DatanodeRegistration registration,
long[] blocks)
blockReport() tells the NameNode about all the locally-stored blocks. |
DatanodeCommand[] |
DatanodeProtocol.sendHeartbeat(DatanodeRegistration registration,
long capacity,
long dfsUsed,
long remaining,
int xmitsInProgress,
int xceiverCount)
sendHeartbeat() tells the NameNode that the DataNode is still alive and well. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |