package hadoop.hdfs

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

service AliasMapProtocolService

AliasMapProtocol.proto:64

service ClientDatanodeProtocolService

ClientDatanodeProtocol.proto:230

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

service ClientNamenodeProtocol

ClientNamenodeProtocol.proto:869

service InterDatanodeProtocolService

InterDatanodeProtocol.proto:80

* Protocol used between datanodes for block recovery. See the request and response for details of rpc call.

service ReconfigurationProtocolService

ReconfigurationProtocol.proto:65

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

enum AccessModeProto

hdfs.proto:668

* File access permissions mode.

Used in: BlockTokenSecretProto

message AclEditLogProto

editlog.proto:28

message AclEntryProto

acl.proto:32

Used in: AclEditLogProto, AclStatusProto, MetadataUpdateEventProto, ModifyAclEntriesRequestProto, RemoveAclEntriesRequestProto, SetAclRequestProto

enum AclEntryProto.AclEntryScopeProto

acl.proto:33

Used in: AclEntryProto

enum AclEntryProto.AclEntryTypeProto

acl.proto:38

Used in: AclEntryProto

enum AclEntryProto.FsActionProto

acl.proto:45

Used in: AclEntryProto, CheckAccessRequestProto

message AclStatusProto

acl.proto:62

Used in: GetAclStatusResponseProto

message ActiveNodeInfo

HAZKInfo.proto:30

enum AddBlockFlagProto

ClientNamenodeProtocol.proto:171

Used in: AddBlockRequestProto

message AddErasureCodingPolicyResponseProto

hdfs.proto:416

Used in: AddErasureCodingPoliciesResponseProto

message AppendEventProto

inotify.proto:98

message BaseHeaderProto

datatransfer.proto:55

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

message BatchedDirectoryListingProto

hdfs.proto:547

Directory listing result for a batched listing call.

Used in: GetBatchedListingResponseProto

message BatchedListingKeyProto

hdfs.proto:278

message BlockChecksumOptionsProto

hdfs.proto:506

* Algorithms/types denoting how block-level checksums are computed using lower-level chunk checksums/CRCs. These options should be kept in sync with org.apache.hadoop.hdfs.protocol.BlockChecksumOptions.

Used in: OpBlockChecksumProto, OpBlockChecksumResponseProto, OpBlockGroupChecksumProto

enum BlockChecksumTypeProto

hdfs.proto:495

Used in: BlockChecksumOptionsProto

message BlockECReconstructionInfoProto

erasurecoding.proto:104

* Block erasure coding reconstruction info

message BlockKeyProto

HdfsServer.proto:41

* Block access token information

Used in: ExportedBlockKeysProto

message BlockOpResponseProto

datatransfer.proto:289

message BlockProto

hdfs.proto:629

* Block information Please be wary of adding additional fields here, since INodeFiles need to fit in PB's default max message size of 64MB. We restrict the max # of blocks per file (dfs.namenode.fs-limits.max-blocks-per-file), but it's better to avoid changing this.

Used in: BlockWithLocationsProto, InitReplicaRecoveryResponseProto, KeyValueProto, ListRequestProto, ListResponseProto, ReadRequestProto, RecoveringBlockProto

message BlockStoragePolicyProto

hdfs.proto:245

* Block replica storage policy.

Used in: GetStoragePoliciesResponseProto, GetStoragePolicyResponseProto

message BlockTokenSecretProto

hdfs.proto:689

* Secret information for the BlockKeyProto. This is not sent on the wire as such but is used to pack a byte array and encrypted and put in BlockKeyProto.bytes When adding further fields, make sure they are optional as they would otherwise not be backwards compatible. Note: As part of the migration from WritableUtils based tokens (aka "legacy") to Protocol Buffers, we use the first byte to determine the type. If the first byte is <=0 then it is a legacy token. This means that when using protobuf tokens, the the first field sent must have a `field_number` less than 16 to make sure that the first byte is positive. Otherwise it could be parsed as a legacy token. See HDFS-11026 for more discussion.

enum BlockTypeProto

hdfs.proto:230

* Types of recognized blocks.

message BlockWithLocationsProto

HdfsServer.proto:61

* Block and datanodes where is it located

Used in: BlocksWithLocationsProto

message BlocksWithLocationsProto

HdfsServer.proto:75

* List of block with locations

message CacheDirectiveEntryProto

ClientNamenodeProtocol.proto:594

Used in: ListCacheDirectivesResponseProto

message CacheDirectiveInfoExpirationProto

ClientNamenodeProtocol.proto:548

Used in: CacheDirectiveInfoProto

message CacheDirectiveInfoProto

ClientNamenodeProtocol.proto:540

Used in: AddCacheDirectiveRequestProto, CacheDirectiveEntryProto, ListCacheDirectivesRequestProto, ModifyCacheDirectiveRequestProto

message CacheDirectiveStatsProto

ClientNamenodeProtocol.proto:553

Used in: CacheDirectiveEntryProto

enum CacheFlagProto

ClientNamenodeProtocol.proto:561

message CachePoolEntryProto

ClientNamenodeProtocol.proto:652

Used in: ListCachePoolsResponseProto

message CachePoolInfoProto

ClientNamenodeProtocol.proto:604

Used in: AddCachePoolRequestProto, CachePoolEntryProto, ModifyCachePoolRequestProto

message CachePoolStatsProto

ClientNamenodeProtocol.proto:614

Used in: CachePoolEntryProto

message CachingStrategyProto

datatransfer.proto:71

Used in: OpReadBlockProto, OpWriteBlockProto

message CheckpointCommandProto

HdfsServer.proto:149

* 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

HdfsServer.proto:136

* Unique signature to identify checkpoint transactions.

Used in: CheckpointCommandProto

message ChecksumProto

datatransfer.proto:84

Used in: OpWriteBlockProto, ReadOpChecksumInfoProto

enum ChecksumTypeProto

hdfs.proto:489

* 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 CipherOptionProto

hdfs.proto:358

* Cipher option

Used in: DataTransferEncryptorMessageProto

enum CipherSuiteProto

hdfs.proto:296

* Cipher suite.

Used in: CipherOptionProto, EncryptionZoneProto, FileEncryptionInfoProto, ZoneEncryptionInfoProto

message ClientOperationHeaderProto

datatransfer.proto:66

Used in: OpReadBlockProto, OpTransferBlockProto, OpWriteBlockProto

message ClientReadStatusProto

datatransfer.proto:314

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

message CloseEventProto

inotify.proto:86

message CodecProto

erasurecoding.proto:117

* Codec and it's corresponding coders

Used in: GetErasureCodingCodecsResponseProto

message ContentSummaryProto

hdfs.proto:167

* Summary of a file or directory

Used in: GetContentSummaryResponseProto

message CorruptFileBlocksProto

hdfs.proto:211

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

Used in: ListCorruptFileBlocksResponseProto

message CreateEventProto

inotify.proto:72

enum CreateFlagProto

ClientNamenodeProtocol.proto:67

enum CryptoProtocolVersionProto

hdfs.proto:304

* Crypto protocol version used to access encrypted files.

Used in: CreateRequestProto, EncryptionZoneProto, FileEncryptionInfoProto, ZoneEncryptionInfoProto

message DNTransferAckProto

datatransfer.proto:318

message DataEncryptionKeyProto

hdfs.proto:284

Used in: GetDataEncryptionKeyResponseProto

message DataTransferEncryptorMessageProto

datatransfer.proto:37

enum DataTransferEncryptorMessageProto.DataTransferEncryptorStatus

datatransfer.proto:38

Used in: DataTransferEncryptorMessageProto

message DataTransferTraceInfoProto

datatransfer.proto:61

Used in: BaseHeaderProto, ReleaseShortCircuitAccessRequestProto, ShortCircuitShmRequestProto

message DatanodeIDProto

hdfs.proto:66

* Identifies a Datanode

Used in: DatanodeInfoProto, UpdatePipelineRequestProto

message DatanodeInfoProto

hdfs.proto:111

* The status of a Datanode

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

enum DatanodeInfoProto.AdminState

hdfs.proto:121

Used in: DatanodeInfoProto

message DatanodeInfosProto

hdfs.proto:104

* DatanodeInfo array

Used in: BlockECReconstructionInfoProto, OpBlockGroupChecksumProto

message DatanodeLocalInfoProto

hdfs.proto:82

* Datanode local information

Used in: GetDatanodeInfoResponseProto

enum DatanodeReportTypeProto

ClientNamenodeProtocol.proto:382

type of the datanode report

Used in: GetDatanodeReportRequestProto, GetDatanodeStorageReportRequestProto

message DatanodeStorageProto

hdfs.proto:142

* Represents a storage available on the datanode

Used in: StorageReportProto

enum DatanodeStorageProto.StorageState

hdfs.proto:143

Used in: DatanodeStorageProto

message DatanodeStorageReportProto

ClientNamenodeProtocol.proto:403

Used in: GetDatanodeStorageReportResponseProto

message DatanodeVolumeInfoProto

hdfs.proto:91

* Datanode volume information

Used in: GetVolumeReportResponseProto

message DirectoryListingProto

hdfs.proto:536

* Directory listing

Used in: GetListingResponseProto

message ECSchemaOptionEntryProto

hdfs.proto:384

* ECSchema options entry

Used in: ECSchemaProto

message ECSchemaProto

hdfs.proto:392

* ECSchema for erasurecoding

Used in: ErasureCodingPolicyProto

message ECTopologyVerifierResultProto

hdfs.proto:422

Used in: GetECTopologyResultForPoliciesResponseProto

message EncryptionZoneProto

encryption.proto:49

Used in: GetEZForPathResponseProto, ListEncryptionZonesResponseProto

message ErasureCodingPolicyProto

hdfs.proto:408

Used in: AddErasureCodingPoliciesRequestProto, AddErasureCodingPolicyResponseProto, BlockECReconstructionInfoProto, GetErasureCodingPoliciesResponseProto, GetErasureCodingPolicyResponseProto, HdfsFileStatusProto, LocatedBlocksProto, OpBlockGroupChecksumProto, RecoveringBlockProto

enum ErasureCodingPolicyState

hdfs.proto:402

* EC policy state.

Used in: ErasureCodingPolicyProto

message EventBatchProto

inotify.proto:52

Used in: EventsListProto

message EventProto

inotify.proto:47

Used in: EventBatchProto, EventsListProto

enum EventType

inotify.proto:37

Used in: EventProto

message EventsListProto

inotify.proto:128

Used in: GetEditsFromTxidResponseProto

message ExportedBlockKeysProto

HdfsServer.proto:50

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

message ExtendedBlockProto

hdfs.proto:41

* Extended block idenfies a block

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

message FileEncryptionInfoProto

hdfs.proto:312

* Encryption information for a file.

Used in: HdfsFileStatusProto, LocatedBlocksProto

message FsPermissionProto

acl.proto:28

* File or Directory permision - same spec as posix

Used in: AclStatusProto, CreateEventProto, CreateRequestProto, CreateSymlinkRequestProto, HdfsFileStatusProto, MetadataUpdateEventProto, MkdirsRequestProto, SetPermissionRequestProto, SnapshotInfoProto

message FsServerDefaultsProto

hdfs.proto:519

* HDFS Server Defaults

Used in: GetServerDefaultsResponseProto

message GetReconfigurationStatusConfigChangeProto

ReconfigurationProtocol.proto:40

Used in: GetReconfigurationStatusResponseProto

message GetReconfigurationStatusRequestProto

ReconfigurationProtocol.proto:37

* Query the running status of reconfiguration process

Used as request type in: ClientDatanodeProtocolService.getReconfigurationStatus, ReconfigurationProtocolService.getReconfigurationStatus

(message has no fields)

message GetReconfigurationStatusResponseProto

ReconfigurationProtocol.proto:47

Used as response type in: ClientDatanodeProtocolService.getReconfigurationStatus, ReconfigurationProtocolService.getReconfigurationStatus

message HandshakeSecretProto

datatransfer.proto:50

Used in: DataTransferEncryptorMessageProto

message HdfsFileStatusProto

hdfs.proto:440

* 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, BatchedDirectoryListingProto, CreateResponseProto, DirectoryListingProto, GetFileInfoResponseProto, GetFileLinkInfoResponseProto, GetLocatedFileInfoResponseProto, SnapshottableDirectoryStatusProto

enum HdfsFileStatusProto.FileType

hdfs.proto:441

Used in: HdfsFileStatusProto

enum HdfsFileStatusProto.Flags

hdfs.proto:446

message HdfsPathHandleProto

hdfs.proto:430

* Placeholder type for consistent HDFS operations.

enum INodeType

inotify.proto:57

Used in: CreateEventProto

message KeyValueProto

AliasMapProtocol.proto:28

Used in: ListResponseProto, WriteRequestProto

message ListReconfigurablePropertiesRequestProto

ReconfigurationProtocol.proto:54

* Query the reconfigurable properties on NN/DN.

Used as request type in: ClientDatanodeProtocolService.listReconfigurableProperties, ReconfigurationProtocolService.listReconfigurableProperties

(message has no fields)

message ListReconfigurablePropertiesResponseProto

ReconfigurationProtocol.proto:57

Used as response type in: ClientDatanodeProtocolService.listReconfigurableProperties, ReconfigurationProtocolService.listReconfigurableProperties

message LocatedBlockProto

hdfs.proto:260

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

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

message LocatedBlocksProto

hdfs.proto:369

* A set of file blocks and their locations.

Used in: GetBlockLocationsResponseProto, HdfsFileStatusProto

message MetadataUpdateEventProto

inotify.proto:109

enum MetadataUpdateType

inotify.proto:63

Used in: MetadataUpdateEventProto

message NNHAStatusHeartbeatProto

HdfsServer.proto:212

* state - State the NN is in when returning response to the DN txid - Highest transaction ID this NN has seen

enum NNHAStatusHeartbeatProto.State

HdfsServer.proto:213

Used in: NNHAStatusHeartbeatProto, NamespaceInfoProto

message NamenodeCommandProto

HdfsServer.proto:160

* Command sent from one namenode to another namenode.

enum NamenodeCommandProto.Type

HdfsServer.proto:161

Used in: NamenodeCommandProto

message NamenodeRegistrationProto

HdfsServer.proto:196

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

enum NamenodeRegistrationProto.NamenodeRoleProto

HdfsServer.proto:199

Used in: NamenodeRegistrationProto

message NamespaceInfoProto

HdfsServer.proto:99

* Namespace information that describes namespace on a namenode

Used in: VersionResponseProto

message OpBlockChecksumProto

datatransfer.proto:158

message OpBlockChecksumResponseProto

datatransfer.proto:322

Used in: BlockOpResponseProto

message OpBlockGroupChecksumProto

datatransfer.proto:163

message OpCopyBlockProto

datatransfer.proto:154

message OpCustomProto

datatransfer.proto:330

message OpReadBlockProto

datatransfer.proto:76

message OpReplaceBlockProto

datatransfer.proto:146

message OpRequestShortCircuitAccessProto

datatransfer.proto:190

message OpTransferBlockProto

datatransfer.proto:139

message OpWriteBlockProto

datatransfer.proto:89

enum OpWriteBlockProto.BlockConstructionStage

datatransfer.proto:93

Used in: OpWriteBlockProto

message OpenFilesBatchResponseProto

ClientNamenodeProtocol.proto:835

Used in: ListOpenFilesResponseProto

enum OpenFilesTypeProto

ClientNamenodeProtocol.proto:824

Used in: ListOpenFilesRequestProto, ListOpenFilesResponseProto

message PacketHeaderProto

datatransfer.proto:235

message PerFileEncryptionInfoProto

hdfs.proto:325

* Encryption information for an individual file within an encryption zone

message PipelineAckProto

datatransfer.proto:267

message ProvidedStorageLocationProto

hdfs.proto:56

Used in: KeyValueProto, ReadResponseProto

message QuotaUsageProto

hdfs.proto:185

* Summary of quota usage of a directory

Used in: GetQuotaUsageResponseProto

message ReadOpChecksumInfoProto

datatransfer.proto:278

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

Used in: BlockOpResponseProto

message RecoveringBlockProto

HdfsServer.proto:123

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

Used in: InitReplicaRecoveryRequestProto

enum ReencryptActionProto

encryption.proto:62

Used in: ReencryptEncryptionZoneRequestProto

message ReencryptionInfoProto

hdfs.proto:345

* Re-encryption information for an encryption zone

Used in: ZoneEncryptionInfoProto

enum ReencryptionStateProto

encryption.proto:79

Used in: ZoneReencryptionStatusProto

message ReleaseShortCircuitAccessRequestProto

datatransfer.proto:212

message ReleaseShortCircuitAccessResponseProto

datatransfer.proto:217

message RemoteEditLogManifestProto

HdfsServer.proto:91

* Enumeration of editlogs available on a remote namenode

message RemoteEditLogProto

HdfsServer.proto:82

* Editlog information with available transactions

Used in: RemoteEditLogManifestProto

message RemoteExceptionProto

hdfs.proto:541

Used in: BatchedDirectoryListingProto

message RenameEventProto

inotify.proto:103

enum ReplicaStateProto

HdfsServer.proto:112

* State of a block replica at a datanode

Used in: InitReplicaRecoveryResponseProto

enum RollingUpgradeActionProto

ClientNamenodeProtocol.proto:479

Used in: RollingUpgradeRequestProto

message RollingUpgradeInfoProto

ClientNamenodeProtocol.proto:489

Used in: RollingUpgradeResponseProto

message RollingUpgradeStatusProto

hdfs.proto:652

* Rolling upgrade status

Used in: RollingUpgradeInfoProto

enum SafeModeActionProto

ClientNamenodeProtocol.proto:420

Used in: SetSafeModeRequestProto

enum ShortCircuitFdResponse

datatransfer.proto:262

message ShortCircuitShmIdProto

datatransfer.proto:177

* An ID uniquely identifying a shared memory segment.

Used in: ShortCircuitShmResponseProto, ShortCircuitShmSlotProto

message ShortCircuitShmRequestProto

datatransfer.proto:222

message ShortCircuitShmResponseProto

datatransfer.proto:229

message ShortCircuitShmSlotProto

datatransfer.proto:185

* An ID uniquely identifying a slot within a shared memory segment.

Used in: OpRequestShortCircuitAccessProto, ReleaseShortCircuitAccessRequestProto

message SnapshotDiffReportCursorProto

hdfs.proto:605

Used in: GetSnapshotDiffReportListingRequestProto, SnapshotDiffReportListingProto

message SnapshotDiffReportEntryProto

hdfs.proto:577

* Snapshot diff report entry

Used in: SnapshotDiffReportProto

message SnapshotDiffReportListingEntryProto

hdfs.proto:597

* Snapshot diff report listing entry

Used in: SnapshotDiffReportListingProto

message SnapshotDiffReportListingProto

hdfs.proto:612

* Snapshot diff report listing

Used in: GetSnapshotDiffReportListingResponseProto

message SnapshotDiffReportProto

hdfs.proto:586

* Snapshot diff report

Used in: GetSnapshotDiffReportResponseProto

message SnapshotInfoProto

hdfs.proto:639

* Information related to a snapshot TODO: add more information

message SnapshottableDirectoryListingProto

hdfs.proto:570

* Snapshottable directory listing

Used in: GetSnapshottableDirListingResponseProto

message SnapshottableDirectoryStatusProto

hdfs.proto:558

* 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

message StartReconfigurationRequestProto

ReconfigurationProtocol.proto:30

* Asks NN/DN to reload configuration file.

Used as request type in: ClientDatanodeProtocolService.startReconfiguration, ReconfigurationProtocolService.startReconfiguration

(message has no fields)

message StartReconfigurationResponseProto

ReconfigurationProtocol.proto:33

Used as response type in: ClientDatanodeProtocolService.startReconfiguration, ReconfigurationProtocolService.startReconfiguration

(message has no fields)

enum Status

datatransfer.proto:245

Status is a 4-bit enum

Used in: BlockOpResponseProto, ClientReadStatusProto, DNTransferAckProto, PipelineAckProto, ReleaseShortCircuitAccessResponseProto, ShortCircuitShmResponseProto

message StorageInfoProto

HdfsServer.proto:186

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

Used in: CheckpointSignatureProto, NamenodeRegistrationProto, NamespaceInfoProto

message StorageReportProto

hdfs.proto:153

Used in: DatanodeStorageReportProto

enum StorageTypeProto

hdfs.proto:219

* Types of recognized storage media.

Used in: BlockTokenSecretProto, BlockWithLocationsProto, DatanodeStorageProto, DatanodeVolumeInfoProto, LocatedBlockProto, OpReplaceBlockProto, OpTransferBlockProto, OpWriteBlockProto, SetQuotaRequestProto, StorageTypeQuotaInfoProto, StorageTypesProto

message StorageTypeQuotaInfoProto

hdfs.proto:200

Used in: StorageTypeQuotaInfosProto

message StorageTypeQuotaInfosProto

hdfs.proto:196

* Storage type quota and usage information of a file or directory

Used in: ContentSummaryProto, QuotaUsageProto

message StorageTypesProto

hdfs.proto:238

* A list of storage types.

Used in: BlockECReconstructionInfoProto, BlockStoragePolicyProto

message StorageUuidsProto

hdfs.proto:661

* A list of storage IDs.

Used in: BlockECReconstructionInfoProto

message TruncateEventProto

inotify.proto:92

message UnlinkEventProto

inotify.proto:123

message VersionRequestProto

HdfsServer.proto:173

* void request

(message has no fields)

message VersionResponseProto

HdfsServer.proto:179

* Version response from namenode.

message XAttrEditLogProto

editlog.proto:33

message XAttrProto

xattr.proto:25

Used in: GetXAttrsRequestProto, GetXAttrsResponseProto, ListXAttrsResponseProto, MetadataUpdateEventProto, RemoveXAttrRequestProto, SetXAttrRequestProto, XAttrEditLogProto

enum XAttrProto.XAttrNamespaceProto

xattr.proto:26

Used in: XAttrProto

enum XAttrSetFlagProto

xattr.proto:39

message ZoneEncryptionInfoProto

hdfs.proto:335

* Encryption information for an encryption zone

message ZoneReencryptionStatusProto

encryption.proto:85

Used in: ListReencryptionStatusResponseProto