Example usage for Java org.apache.hadoop.hdfs.server.protocol DatanodeProtocol fields, constructors, methods, implement or subclass
The text is from its open source code.
long | versionID This class is used by both the Namenode (client) and BackupNode (server) to insulate from the protocol serialization. |
int | NOTIFY |
int | DISK_ERROR |
int | INVALID_BLOCK |
int | FATAL_DISK_ERROR |
int | DNA_TRANSFER |
int | DNA_INVALIDATE |
int | DNA_SHUTDOWN |
int | DNA_REGISTER |
int | DNA_FINALIZE |
int | DNA_RECOVERBLOCK |
int | DNA_ACCESSKEYUPDATE |
void | blockReceivedAndDeleted(DatanodeRegistration registration, String poolId, StorageReceivedDeletedBlocks[] rcvdAndDeletedBlocks) blockReceivedAndDeleted() allows the DataNode to tell the NameNode about recently-received and -deleted block data. |