package Hdfs.Internal

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service ClientDatanodeProtocolService

ClientDatanodeProtocol.proto:132

* Protocol used from client to the Datanode. See the request and response for details of rpc call.

service ClientNamenodeProtocol

ClientNamenodeProtocol.proto:650

message AddErasureCodingPolicyResponseProto

hdfs.proto:201

message BaseHeaderProto

datatransfer.proto:48

Used in: ClientOperationHeaderProto, OpBlockChecksumProto, OpCopyBlockProto, OpReplaceBlockProto, OpRequestShortCircuitAccessProto

message BlockKeyProto

hdfs.proto:448

* Block access token information

Used in: ExportedBlockKeysProto

message BlockOpResponseProto

datatransfer.proto:189

message BlockProto

hdfs.proto:396

* Block information

Used in: BlockWithLocationsProto

message BlockWithLocationsProto

hdfs.proto:405

* Block and datanodes where is it located

Used in: BlocksWithLocationsProto

message BlocksWithLocationsProto

hdfs.proto:414

* List of block with locations

message CacheDirectiveEntryProto

ClientNamenodeProtocol.proto:454

Used in: ListCacheDirectivesResponseProto

message CacheDirectiveInfoExpirationProto

ClientNamenodeProtocol.proto:408

Used in: CacheDirectiveInfoProto

message CacheDirectiveInfoProto

ClientNamenodeProtocol.proto:400

Used in: AddCacheDirectiveRequestProto, CacheDirectiveEntryProto, ListCacheDirectivesRequestProto, ModifyCacheDirectiveRequestProto

message CacheDirectiveStatsProto

ClientNamenodeProtocol.proto:413

Used in: CacheDirectiveEntryProto

enum CacheFlagProto

ClientNamenodeProtocol.proto:421

message CachePoolEntryProto

ClientNamenodeProtocol.proto:511

Used in: ListCachePoolsResponseProto

message CachePoolInfoProto

ClientNamenodeProtocol.proto:464

Used in: AddCachePoolRequestProto, CachePoolEntryProto, ModifyCachePoolRequestProto

message CachePoolStatsProto

ClientNamenodeProtocol.proto:473

Used in: CachePoolEntryProto

message CachingStrategyProto

datatransfer.proto:58

Used in: OpReadBlockProto, OpWriteBlockProto

message CheckpointCommandProto

hdfs.proto:385

* 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: NamenodeCommandProto

message CheckpointSignatureProto

hdfs.proto:359

* Unique signature to identify checkpoint transactions.

Used in: CheckpointCommandProto

message ChecksumProto

datatransfer.proto:72

Used in: OpWriteBlockProto, ReadOpChecksumInfoProto

enum ChecksumTypeProto

hdfs.proto:262

* 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: ChecksumProto, FsServerDefaultsProto, OpBlockChecksumResponseProto

message ClientOperationHeaderProto

datatransfer.proto:53

Used in: OpReadBlockProto, OpTransferBlockProto, OpWriteBlockProto

message ClientReadStatusProto

datatransfer.proto:214

* Message sent from the client to the DN after reading the entire read request.

message ContentSummaryProto

hdfs.proto:95

* Summary of a file or directory

Used in: GetContentSummaryResponseProto

message CorruptFileBlocksProto

hdfs.proto:109

* Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.

Used in: ListCorruptFileBlocksResponseProto

enum CreateFlagProto

ClientNamenodeProtocol.proto:64

message DNTransferAckProto

datatransfer.proto:218

message DataEncryptionKeyProto

hdfs.proto:157

Used in: GetDataEncryptionKeyResponseProto

message DataTransferEncryptorMessageProto

datatransfer.proto:37

enum DataTransferEncryptorMessageProto.DataTransferEncryptorStatus

datatransfer.proto:38

Used in: DataTransferEncryptorMessageProto

message DatanodeIDProto

hdfs.proto:49

* Identifies a Datanode

Used in: DatanodeInfoProto, UpdatePipelineRequestProto

message DatanodeInfoProto

hdfs.proto:72

* The status of a Datanode

Used in: AddBlockRequestProto, DatanodeInfosProto, GetAdditionalDatanodeRequestProto, GetDatanodeReportResponseProto, LocatedBlockProto, OpReplaceBlockProto, OpTransferBlockProto, OpWriteBlockProto

enum DatanodeInfoProto.AdminState

hdfs.proto:81

Used in: DatanodeInfoProto

message DatanodeInfosProto

hdfs.proto:65

* DatanodeInfo array

enum DatanodeReportTypeProto

ClientNamenodeProtocol.proto:298

type of the datanode report

Used in: GetDatanodeReportRequestProto

message DirectoryListingProto

hdfs.proto:286

* Directory listing

Used in: GetListingResponseProto

message ECSchemaOptionEntryProto

hdfs.proto:169

* ECSchema options entry

Used in: ECSchemaProto

message ECSchemaProto

hdfs.proto:177

* ECSchema for erasurecoding

Used in: ErasureCodingPolicyProto

message ErasureCodingPolicyProto

hdfs.proto:193

Used in: AddErasureCodingPolicyResponseProto, HdfsFileStatusProto, LocatedBlocksProto

enum ErasureCodingPolicyState

hdfs.proto:187

* EC policy state.

Used in: ErasureCodingPolicyProto

message ExportedBlockKeysProto

hdfs.proto:457

* Current key and set of block keys at the namenode.

message ExtendedBlockProto

hdfs.proto:38

* Extended block idenfies a block

Used in: AbandonBlockRequestProto, AddBlockRequestProto, BaseHeaderProto, CompleteRequestProto, GetAdditionalDatanodeRequestProto, GetBlockLocalPathInfoRequestProto, GetBlockLocalPathInfoResponseProto, GetHdfsBlockLocationsRequestProto, GetReplicaVisibleLengthRequestProto, LocatedBlockProto, UpdateBlockForPipelineRequestProto, UpdatePipelineRequestProto

message FsPermissionProto

hdfs.proto:117

* File or Directory permision - same spec as posix

Used in: CreateRequestProto, CreateSymlinkRequestProto, HdfsFileStatusProto, MkdirsRequestProto, SetPermissionRequestProto, SnapshotInfoProto

message FsServerDefaultsProto

hdfs.proto:271

* HDFS Server Defaults

Used in: GetServerDefaultsResponseProto

message HdfsFileStatusProto

hdfs.proto:226

* Status of a file, directory or symlink Optionally includes a file's block locations if requested by client on the rpc call.

Used in: AppendResponseProto, CreateResponseProto, DirectoryListingProto, GetFileInfoResponseProto, GetFileLinkInfoResponseProto, SnapshottableDirectoryStatusProto

enum HdfsFileStatusProto.FileType

hdfs.proto:227

Used in: HdfsFileStatusProto

message IpcConnectionContextProto

IpcConnectionContext.proto:44

* The connection context is sent as part of the connection establishment. It establishes the context for ALL Rpc calls within the connection.

message LocatedBlockProto

hdfs.proto:139

* A LocatedBlock gives information about a block and its location.

Used in: AddBlockResponseProto, AppendResponseProto, GetAdditionalDatanodeResponseProto, LocatedBlocksProto, RecoveringBlockProto, ReportBadBlocksRequestProto, UpdateBlockForPipelineResponseProto

message LocatedBlocksProto

hdfs.proto:210

* A set of file blocks and their locations.

Used in: GetBlockLocationsResponseProto, HdfsFileStatusProto

message NamenodeCommandProto

hdfs.proto:369

* Command sent from one namenode to another namenode.

enum NamenodeCommandProto.Type

hdfs.proto:370

Used in: NamenodeCommandProto

message NamenodeRegistrationProto

hdfs.proto:344

* Information sent by a namenode to identify itself to the primary namenode.

enum NamenodeRegistrationProto.NamenodeRoleProto

hdfs.proto:347

Used in: NamenodeRegistrationProto

message NamespaceInfoProto

hdfs.proto:437

* Namespace information that describes namespace on a namenode

Used in: VersionResponseProto

message OpBlockChecksumProto

datatransfer.proto:128

message OpBlockChecksumResponseProto

datatransfer.proto:222

Used in: BlockOpResponseProto

message OpCopyBlockProto

datatransfer.proto:124

message OpReadBlockProto

datatransfer.proto:63

message OpReplaceBlockProto

datatransfer.proto:118

message OpRequestShortCircuitAccessProto

datatransfer.proto:132

message OpTransferBlockProto

datatransfer.proto:113

message OpWriteBlockProto

datatransfer.proto:77

enum OpWriteBlockProto.BlockConstructionStage

datatransfer.proto:81

Used in: OpWriteBlockProto

message PacketHeaderProto

datatransfer.proto:143

message PipelineAckProto

datatransfer.proto:168

message ReadOpChecksumInfoProto

datatransfer.proto:178

* Sent as part of the BlockOpResponseProto for READ_BLOCK and COPY_BLOCK operations.

Used in: BlockOpResponseProto

message RecoveringBlockProto

hdfs.proto:479

* Block that needs to be recovered with at a given location

message RemoteEditLogManifestProto

hdfs.proto:430

* Enumeration of editlogs available on a remote namenode

message RemoteEditLogProto

hdfs.proto:421

* Editlog information with available transactions

Used in: RemoteEditLogManifestProto

enum ReplicaStateProto

hdfs.proto:468

* State of a block replica at a datanode

message RequestHeaderProto

ProtobufRpcEngine.proto:45

* This message is the header for the Protobuf Rpc Engine when sending a RPC request from RPC client to the RPC server. The actual request (serialized as protobuf) follows this request. No special header is needed for the Rpc Response for Protobuf Rpc Engine. The normal RPC response header (see RpcHeader.proto) are sufficient.

enum RpcKindProto

RpcHeader.proto:48

* RpcKind determine the rpcEngine and the serialization of the rpc request

Used in: RpcRequestHeaderProto

message RpcRequestHeaderProto

RpcHeader.proto:56

the header for the RpcRequest

enum RpcRequestHeaderProto.OperationProto

RpcHeader.proto:57

Used in: RpcRequestHeaderProto

message RpcResponseHeaderProto

RpcHeader.proto:93

* Rpc Response Header +------------------------------------------------------------------+ | Rpc total response length in bytes (4 bytes int) | | (sum of next two parts) | +------------------------------------------------------------------+ | RpcResponseHeaderProto - serialized delimited ie has len | +------------------------------------------------------------------+ | if request is successful: | | - RpcResponse - The actual rpc response bytes follow | | the response header | | This response is serialized based on RpcKindProto | | if request fails : | | The rpc response header contains the necessary info | +------------------------------------------------------------------+ Note that rpc response header is also used when connection setup fails. Ie the response looks like a rpc response with a fake callId.

* RpcStastus - success or failure The reponseHeader's errDetail, exceptionClassName and errMsg contains further details on the error

enum RpcResponseHeaderProto.RpcErrorCodeProto

RpcHeader.proto:107

Used in: RpcResponseHeaderProto

enum RpcResponseHeaderProto.RpcStatusProto

RpcHeader.proto:101

Used in: RpcResponseHeaderProto

message RpcSaslProto

RpcHeader.proto:137

message RpcSaslProto.SaslAuth

RpcHeader.proto:147

Used in: RpcSaslProto

enum RpcSaslProto.SaslState

RpcHeader.proto:138

Used in: RpcSaslProto

enum SafeModeActionProto

ClientNamenodeProtocol.proto:320

Used in: SetSafeModeRequestProto

message SnapshotDiffReportEntryProto

hdfs.proto:315

* Snapshot diff report entry

Used in: SnapshotDiffReportProto

message SnapshotDiffReportProto

hdfs.proto:323

* Snapshot diff report

Used in: GetSnapshotDiffReportResponseProto

message SnapshotInfoProto

hdfs.proto:501

* Information related to a snapshot TODO: add more information

message SnapshottableDirectoryListingProto

hdfs.proto:308

* Snapshottable directory listing

Used in: GetSnapshottableDirListingResponseProto

message SnapshottableDirectoryStatusProto

hdfs.proto:296

* 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: SnapshottableDirectoryListingProto

enum Status

datatransfer.proto:152

Used in: BlockOpResponseProto, ClientReadStatusProto, DNTransferAckProto, PipelineAckProto

message StorageInfoProto

hdfs.proto:334

* Common node information shared by all the nodes in the cluster

Used in: CheckpointSignatureProto, NamenodeRegistrationProto, NamespaceInfoProto

enum StorageTypeProto

hdfs.proto:124

* Types of recognized storage media.

Used in: LocatedBlockProto

message StorageUuidsProto

hdfs.proto:132

* A list of storage IDs.

message TokenProto

Security.proto:34

* Security token identifier

Used in: BaseHeaderProto, CancelDelegationTokenRequestProto, GetBlockLocalPathInfoRequestProto, GetDelegationTokenResponseProto, GetHdfsBlockLocationsRequestProto, LocatedBlockProto, RenewDelegationTokenRequestProto

message UserInformationProto

IpcConnectionContext.proto:35

* Spec for UserInformationProto is specified in ProtoUtil#makeIpcConnectionContext

Used in: IpcConnectionContextProto

message VersionRequestProto

hdfs.proto:487

* void request

(message has no fields)

message VersionResponseProto

hdfs.proto:493

* Version response from namenode.