Package org.apache.hadoop.hdfs.protocol
package org.apache.hadoop.hdfs.protocol
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-
ClassDescriptionorg.apache.hadoop.hdfs.protocol.AclExceptionIndicates a failure manipulating an ACL.org.apache.hadoop.hdfs.protocol.AddErasureCodingPolicyResponseA response of add an ErasureCoding policy.org.apache.hadoop.hdfs.protocol.AlreadyBeingCreatedExceptionThe exception that happens when you ask to create a file that already is being created, but is not closed yet.org.apache.hadoop.hdfs.protocol.BatchedDirectoryListingA struct-like class for holding partial listings returned by the batched listing API.org.apache.hadoop.hdfs.protocol.BlockA Block is a Hadoop FS primitive, identified by its block ID (a long).org.apache.hadoop.hdfs.protocol.BlockChecksumOptionsEncapsulates various options related to how fine-grained data checksums are combined into block-level checksums.org.apache.hadoop.hdfs.protocol.BlockChecksumTypeAlgorithms/types denoting how block-level checksums are computed using lower-level chunk checksums/CRCs.org.apache.hadoop.hdfs.protocol.BlockListAsLongsorg.apache.hadoop.hdfs.protocol.BlockListAsLongs.BlockReportReplicaorg.apache.hadoop.hdfs.protocol.BlockListAsLongs.Builderorg.apache.hadoop.hdfs.protocol.BlockLocalPathInfoA block and the full path information to the block data file and the metadata file stored on the local file system.org.apache.hadoop.hdfs.protocol.BlockStoragePolicyA block storage policy describes how to select the storage types for the replicas of a block.Type of a block.org.apache.hadoop.hdfs.protocol.CacheDirectiveNamenode class that tracks state related to a cached path.Describes a path-based cache directive entry.Describes a path-based cache directive.org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.BuilderA builder for creating new CacheDirectiveInfo instances.org.apache.hadoop.hdfs.protocol.CacheDirectiveInfo.ExpirationDenotes a relative or absolute expiration time for a CacheDirective.org.apache.hadoop.hdfs.protocol.CacheDirectiveIteratorCacheDirectiveIterator is a remote iterator that iterates cache directives.Describes a path-based cache directive.org.apache.hadoop.hdfs.protocol.CacheDirectiveStats.BuilderDescribes a Cache Pool entry.CachePoolInfo describes a cache pool.org.apache.hadoop.hdfs.protocol.CachePoolIteratorCachePoolIterator is a remote iterator that iterates cache pools.CachePoolStats describes cache pool statistics.org.apache.hadoop.hdfs.protocol.CachePoolStats.Builderorg.apache.hadoop.hdfs.protocol.ClientDatanodeProtocolAn client-datanode protocol for block recoveryorg.apache.hadoop.hdfs.protocol.ClientProtocolClientProtocol is used by user code via the DistributedFileSystem class to communicate with the NameNode.org.apache.hadoop.hdfs.protocol.CorruptFileBlocksContains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.org.apache.hadoop.hdfs.protocol.DatanodeAdminPropertiesThe class describes the configured admin properties for a datanode.org.apache.hadoop.hdfs.protocol.DatanodeIDThis class represents the primary identifier for a Datanode.org.apache.hadoop.hdfs.protocol.DatanodeInfoThis class extends the primary identifier of a Datanode with ephemeral state, eg usage information, current administrative state, and the network location that is communicated to clients.org.apache.hadoop.hdfs.protocol.DatanodeInfo.DatanodeInfoBuilderBuilding the DataNodeInfo.org.apache.hadoop.hdfs.protocol.DatanodeInfoWithStorageorg.apache.hadoop.hdfs.protocol.DatanodeLocalInfoLocally available datanode informationorg.apache.hadoop.hdfs.protocol.DatanodeVolumeInfoLocally available datanode volume information.org.apache.hadoop.hdfs.protocol.DirectoryListingThis class defines a partial listing of a directory to support iterative directory listing.Get statistics pertaining to blocks of type
BlockType.STRIPEDin the filesystem.org.apache.hadoop.hdfs.protocol.ECTopologyVerifierResultResult of the verification whether the current cluster setup can support all enabled EC policies.A simple class for representing an encryption zone.org.apache.hadoop.hdfs.protocol.EncryptionZoneIteratorEncryptionZoneIterator is a remote iterator that iterates over encryption zones.org.apache.hadoop.hdfs.protocol.ErasureCodingPolicyA policy about how to write/read/code an erasure coding file.org.apache.hadoop.hdfs.protocol.ErasureCodingPolicyInfoHDFS internal presentation of aErasureCodingPolicy.org.apache.hadoop.hdfs.protocol.ErasureCodingPolicyStateValue denotes the possible states of an ErasureCodingPolicy.org.apache.hadoop.hdfs.protocol.ExtendedBlockIdentifies a Block uniquely across the block poolsorg.apache.hadoop.hdfs.protocol.FSLimitException.MaxDirectoryItemsExceededExceptionDirectory has too many itemsorg.apache.hadoop.hdfs.protocol.FSLimitException.PathComponentTooLongExceptionPath component length is too longorg.apache.hadoop.hdfs.protocol.FsPermissionExtensionDeprecated.ACLs, encryption, and erasure coding are managed on FileStatus.org.apache.hadoop.hdfs.protocol.HdfsConstantsRe-encrypt encryption zone actions.This enum wraps above Storage Policy ID and name.Storage policy satisfier service modes.Upgrade actions.org.apache.hadoop.hdfs.protocol.HdfsFileStatusHDFS metadata for an entity in the filesystem.org.apache.hadoop.hdfs.protocol.HdfsFileStatus.BuilderBuilder class for HdfsFileStatus instances.Set of features potentially active on an instance.org.apache.hadoop.hdfs.protocol.HdfsLocatedFileStatusHDFS metadata for an entity in the filesystem with locations.org.apache.hadoop.hdfs.protocol.HdfsNamedFileStatusHDFS metadata for an entity in the filesystem without locations.org.apache.hadoop.hdfs.protocol.HdfsPartialListingA partial listing returned by the batched listing API.org.apache.hadoop.hdfs.protocol.HdfsPathHandleOpaque handle to an entity in HDFS.org.apache.hadoop.hdfs.protocol.LastBlockWithStatusClass to contain Lastblock and HdfsFileStatus for the Append operationorg.apache.hadoop.hdfs.protocol.LayoutFlagsLayoutFlags represent features which the FSImage and edit logs can either support or not, independently of layout version.org.apache.hadoop.hdfs.protocol.LayoutVersionThis class tracks changes in the layout version of HDFS.Enums for features that change the layout version before rolling upgrade is supported.org.apache.hadoop.hdfs.protocol.LayoutVersion.FeatureInfoFeature information.org.apache.hadoop.hdfs.protocol.LayoutVersion.LayoutFeatureThe interface to be implemented by NameNode and DataNode layout featuresorg.apache.hadoop.hdfs.protocol.LocatedBlockAssociates a block with the Datanodes that contain its replicas and other block metadata (E.g. the file offset associated with this block, whether it is corrupt, a location is cached in memory, security token, etc).org.apache.hadoop.hdfs.protocol.LocatedBlocksCollection of blocks with their locations and the file length.org.apache.hadoop.hdfs.protocol.LocatedStripedBlockLocatedBlockwith striped block support.org.apache.hadoop.hdfs.protocol.NoECPolicySetExceptionThrown when no EC policy is set explicitly on the directory.org.apache.hadoop.hdfs.protocol.OpenFileEntryAn open file entry for use by DFSAdmin commands.org.apache.hadoop.hdfs.protocol.OpenFilesIteratorOpenFilesIterator is a remote iterator that iterates over the open files list managed by the NameNode.Open file types to filter the results.org.apache.hadoop.hdfs.protocol.ProvidedStorageLocationProvidedStorageLocation is a location in an external storage system containing the data for a block (~Replica).This exception is thrown when modification to HDFS results in violation of a directory quota.org.apache.hadoop.hdfs.protocol.ReconfigurationProtocolReconfigurationProtocol is used by HDFS admin to reload configuration for NN/DN without restarting them.org.apache.hadoop.hdfs.protocol.RecoveryInProgressExceptionException indicating that a replica is already being recovery.org.apache.hadoop.hdfs.protocol.ReencryptionStatusA class representing information about re-encrypting encryption zones.org.apache.hadoop.hdfs.protocol.ReencryptionStatusIteratorReencryptionStatusIterator is a remote iterator that iterates over the reencryption status of encryption zones.Get statistics pertaining to blocks of typeBlockType.CONTIGUOUSin the filesystem.org.apache.hadoop.hdfs.protocol.RollingUpgradeExceptionException related to rolling upgrade.org.apache.hadoop.hdfs.protocol.RollingUpgradeInfoRolling upgrade informationorg.apache.hadoop.hdfs.protocol.RollingUpgradeInfo.Beanorg.apache.hadoop.hdfs.protocol.RollingUpgradeStatusRolling upgrade statusorg.apache.hadoop.hdfs.protocol.SnapshotAccessControlExceptionSnapshot access related exception.org.apache.hadoop.hdfs.protocol.SnapshotDiffReportThis class represents to end users the difference between two snapshots of the same directory, or the difference between a snapshot of the directory and its current state.org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffReportEntryRepresenting the full path and diff type of a file/directory where changes have happened.org.apache.hadoop.hdfs.protocol.SnapshotDiffReport.DiffStatsRecords the stats related to Snapshot diff operation.Types of the difference, which include CREATE, MODIFY, DELETE, and RENAME.org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListingThis class represents to the difference between two snapshots of the same directory, or the difference between a snapshot of the directory and its current state.org.apache.hadoop.hdfs.protocol.SnapshotDiffReportListing.DiffReportListingEntryRepresenting the full path and diff type of a file/directory where changes have happened.org.apache.hadoop.hdfs.protocol.SnapshotExceptionSnapshot related exception.org.apache.hadoop.hdfs.protocol.SnapshotInfoSnapshotInfo maintains information for a snapshotorg.apache.hadoop.hdfs.protocol.SnapshotInfo.Beanorg.apache.hadoop.hdfs.protocol.SnapshotStatusMetadata about a snapshottable directory.org.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatusMetadata about a snapshottable directoryorg.apache.hadoop.hdfs.protocol.SnapshottableDirectoryStatus.Beanorg.apache.hadoop.hdfs.protocol.StripedBlockInfoStriped block info that can be sent elsewhere to do block group level things, like checksum, and etc.org.apache.hadoop.hdfs.protocol.SystemErasureCodingPoliciesThe set of built-in erasure coding policies.org.apache.hadoop.hdfs.protocol.UnregisteredNodeExceptionThis exception is thrown when a node that has not previously registered is trying to access the name node.org.apache.hadoop.hdfs.protocol.UnresolvedPathExceptionThrown when a symbolic link is encountered in a path.org.apache.hadoop.hdfs.protocol.XAttrNotFoundExceptionThe exception that happens when you ask to get a non existing XAttr.org.apache.hadoop.hdfs.protocol.ZoneReencryptionStatusA class representing information about re-encryption of an encryption zone.org.apache.hadoop.hdfs.protocol.ZoneReencryptionStatus.BuilderBuilder ofZoneReencryptionStatus.State of re-encryption.