Get desktop application:
View/edit binary Protocol Buffers messages
void response
(message has no fields)
default as a bogus id
the set of datanodes to use for the block
(message has no fields)
default to GRANDFATHER_INODE_ID
void response
(message has no fields)
bits set using CreateFlag
Short: Only 16 bits used
void response
(message has no fields)
void response
(message has no fields)
(message has no fields)
no parameters
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
file name
range start offset
range length
no parameters
(message has no fields)
no input paramters
(message has no fields)
No parameters
(message has no fields)
no input parameters
(message has no fields)
void response
(message has no fields)
no parameters
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
no parameters
(message has no fields)
response
no parameters
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
void response
(message has no fields)
Short: Only 16 bits used
void response
(message has no fields)
void response
(message has no fields)
Used in: , , , ,
* Block access token information
Used in:
Key identifier
Expiry time in milliseconds
Key secret
* explanatory text which may be useful to log on the client side
* If the server chooses to agree to the request of a client for short-circuit access, it will send a response message with the relevant file descriptors attached. In the body of the message, this version number will be set to the specific version number of the block data that the client is about to read.
* Block information
Used in:
* Block and datanodes where is it located
Used in:
Block
Datanodes with replicas of the block
* List of block with locations
Used in: ,
* Command returned from primary to checkpointing namenode. This command has checkpoint signature that identifies checkpoint transaction and is needed for further communication related to checkpointing.
Used in:
Unique signature to identify checkpoint transation
If true, return transfer image to primary upon the completion of checkpoint
* Unique signature to identify checkpoint transactions.
Used in:
Used in: ,
* Checksum algorithms/types used in HDFS Make sure this enum's integer values match enum values' id properties defined in org.apache.hadoop.util.DataChecksum.Type
Used in: , ,
Used in: , ,
* Message sent from the client to the DN after reading the entire read request.
* Summary of a file or directory
Used in:
* Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.
Used in:
Create a file
Truncate/overwrite a file. Same as POSIX O_TRUNC
Append to a file
Used in:
Used in:
* Identifies a Datanode
Used in: ,
IP address
hostname
unique storage id
data streaming port
datanode http port
ipc server port
datanode https port
* The status of a Datanode
Used in: , , , , , , ,
Used in:
* DatanodeInfo array
type of the datanode report
Used in:
* Directory listing
Used in:
* Current key and set of block keys at the namenode.
* Extended block idenfies a block
Used in: , , , , , , ,
Block pool id - gloablly unique across clusters
the local id within a pool
len does not belong in ebid
* File or Directory permision - same spec as posix
Used in: , , , , ,
Actually a short - only 16bits used
* HDFS Server Defaults
Used in:
Actually a short - only 16 bits used
* Status of a file, directory or symlink Optionally includes a file's block locations if requested by client on the rpc call.
Used in: , , , ,
local name of inode encoded java UTF8
Optional fields for symlink
if symlink, target encoded java UTF8
Optional fields for file
only 16bits used
suppled only if asked by client
Optional field for fileId
default as an invalid id
Used in:
* A LocatedBlock gives information about a block and its location.
Used in: , , , , , ,
offset of first byte of block in the file
Locations ordered by proximity to client ip
true if all replicas of a block are corrupt, else false
* A set of file blocks and their locations.
Used in: ,
* Command sent from one namenode to another namenode.
Used in:
Base command
Check point command
* Information sent by a namenode to identify itself to the primary namenode.
host:port of the namenode RPC address
host:port of the namenode http server
Node information
Namenode role
Used in:
* Namespace information that describes namespace on a namenode
Used in:
Software revision version (e.g. an svn or git revision)
Retained for backward compatibility
block pool used by the namespace
Node information
Software version number (e.g. 2.0.0)
Used in:
* In order to get short-circuit access to block data, clients must set this to the highest version of the block data that they can understand. Currently 1 is the only version, but more versions may exist in the future if the on-disk format changes.
* The requested checksum mechanism for this block write.
Used in:
pipeline set up for failed PIPELINE_SETUP_APPEND recovery
data streaming
pipeline setup for failed data streaming recovery
close the block and pipeline
Recover a failed PIPELINE_CLOSE
pipeline set up for block creation
transfer RBW for adding datanodes
transfer Finalized for adding datanodes
All fields must be fixed-length!
* Sent as part of the BlockOpResponseProto for READ_BLOCK and COPY_BLOCK operations.
Used in:
* The offset into the block at which the first packet will start. This is necessary since reads will align backwards to a checksum chunk boundary.
* Block that needs to be recovered with at a given location
New genstamp post recovery
Block to be recovered
* Enumeration of editlogs available on a remote namenode
* Editlog information with available transactions
Used in:
Starting available edit log transaction
Ending available edit log transaction
* State of a block replica at a datanode
State of a replica when it is not modified
State of replica that is being written to
State of replica that is waiting to be recovered
State of replica that is under recovery
State of replica that is created for replication
Used in:
* Snapshot diff report entry
Used in:
* Snapshot diff report
Used in:
full path of the directory where snapshots were taken
* Information related to a snapshot TODO: add more information
TODO: do we need access time?
* Snapshottable directory listing
Used in:
* Status of a snapshottable directory: besides the normal information for a directory status, also include snapshot quota, number of snapshots, and the full path of the parent directory.
Used in:
Fields specific for snapshottable directory
Used in: , , ,
* Common node information shared by all the nodes in the cluster
Used in: , ,
Layout version of the file system
File system namespace ID
ID of the cluster
File system creation time
* void request
(message has no fields)
* Version response from namenode.