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.
-
ClassDescriptionIndicates a failure manipulating an ACL.A response of add an ErasureCoding policy.The exception that happens when you ask to create a file that already is being created, but is not closed yet.A struct-like class for holding partial listings returned by the batched listing API.A Block is a Hadoop FS primitive, identified by its block ID (a long).Encapsulates various options related to how fine-grained data checksums are combined into block-level checksums.Algorithms/types denoting how block-level checksums are computed using lower-level chunk checksums/CRCs.A block and the full path information to the block data file and the metadata file stored on the local file system.A block storage policy describes how to select the storage types for the replicas of a block.Type of a block.Describes a path-based cache directive entry.Describes a path-based cache directive.A builder for creating new CacheDirectiveInfo instances.Denotes a relative or absolute expiration time for a CacheDirective.CacheDirectiveIterator is a remote iterator that iterates cache directives.Describes a path-based cache directive.Describes a Cache Pool entry.CachePoolInfo describes a cache pool.CachePoolIterator is a remote iterator that iterates cache pools.CachePoolStats describes cache pool statistics.An client-datanode protocol for block recoveryClientProtocol is used by user code via the DistributedFileSystem class to communicate with the NameNode.Contains a list of paths corresponding to corrupt files and a cookie used for iterative calls to NameNode.listCorruptFileBlocks.The class describes the configured admin properties for a datanode.This class represents the primary identifier for a Datanode.This 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.Building the DataNodeInfo.Locally available datanode informationLocally available datanode volume information.This class defines a partial listing of a directory to support iterative directory listing.Get statistics pertaining to blocks of type
BlockType.STRIPEDin the filesystem.Result of the verification whether the current cluster setup can support all enabled EC policies.A simple class for representing an encryption zone.EncryptionZoneIterator is a remote iterator that iterates over encryption zones.A policy about how to write/read/code an erasure coding file.HDFS internal presentation of aErasureCodingPolicy.Value denotes the possible states of an ErasureCodingPolicy.Identifies a Block uniquely across the block poolsDeprecated.ACLs, encryption, and erasure coding are managed on FileStatus.Re-encrypt encryption zone actions.This enum wraps above Storage Policy ID and name.Storage policy satisfier service modes.Upgrade actions.HDFS metadata for an entity in the filesystem.Builder class for HdfsFileStatus instances.Set of features potentially active on an instance.HDFS metadata for an entity in the filesystem with locations.HDFS metadata for an entity in the filesystem without locations.A partial listing returned by the batched listing API.Opaque handle to an entity in HDFS.Class to contain Lastblock and HdfsFileStatus for the Append operationAssociates 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).Collection of blocks with their locations and the file length.LocatedBlockwith striped block support.Thrown when no EC policy is set explicitly on the directory.An open file entry for use by DFSAdmin commands.OpenFilesIterator is a remote iterator that iterates over the open files list managed by the NameNode.Open file types to filter the results.ProvidedStorageLocation 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.ReconfigurationProtocol is used by HDFS admin to reload configuration for NN/DN without restarting them.A class representing information about re-encrypting encryption zones.ReencryptionStatusIterator is a remote iterator that iterates over the reencryption status of encryption zones.Get statistics pertaining to blocks of typeBlockType.CONTIGUOUSin the filesystem.Rolling upgrade informationRolling upgrade statusSnapshot access related exception.This 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.Representing the full path and diff type of a file/directory where changes have happened.Records the stats related to Snapshot diff operation.Types of the difference, which include CREATE, MODIFY, DELETE, and RENAME.This 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.Representing the full path and diff type of a file/directory where changes have happened.Metadata about a snapshottable directory.Metadata about a snapshottable directoryStriped block info that can be sent elsewhere to do block group level things, like checksum, and etc.The set of built-in erasure coding policies.Thrown when a symbolic link is encountered in a path.The exception that happens when you ask to get a non existing XAttr.A class representing information about re-encryption of an encryption zone.Builder ofZoneReencryptionStatus.State of re-encryption.