Package org.apache.hadoop.hdfs
package org.apache.hadoop.hdfs
A distributed implementation of FileSystem. This is loosely modelled after
Google's GFS.
The most important difference is that unlike GFS, Hadoop DFS files have strictly one writer at any one time. Bytes are always appended to the end of the writer's stream. There is no notion of "record appends" or "mutations" that are then checked or reordered. Writers simply emit a byte stream. That byte stream is guaranteed to be stored in the order written.
-
ClassDescriptionorg.apache.hadoop.hdfs.AddBlockFlagAddBlockFlag provides hints for new block allocation and placement.org.apache.hadoop.hdfs.BlockMissingExceptionThis exception is thrown when a read encounters a block that has no locations associated with it.org.apache.hadoop.hdfs.BlockReaderA BlockReader is responsible for reading a single block from a single datanode.This exception is thrown when the length of a LocatedBlock instance can not be obtained.org.apache.hadoop.hdfs.ClientContextClientContext contains context information for a client.org.apache.hadoop.hdfs.ClientGSIContextGlobal State Id context for the client.org.apache.hadoop.hdfs.DeadNodeDetectorDetect the dead nodes in advance, and share this information among all the DFSInputStreams in the same client.org.apache.hadoop.hdfs.DeprecatedUTF8A simple wrapper around
UTF8.org.apache.hadoop.hdfs.DFSClientDFSClient can connect to a Hadoop Filesystem and perform basic file tasks.org.apache.hadoop.hdfs.DFSClient.DFSDataInputStreamDeprecated.org.apache.hadoop.hdfs.DFSClient.Renewerorg.apache.hadoop.hdfs.DFSClientFaultInjectorUsed for injecting faults in DFSClient and DFSOutputStream tests.org.apache.hadoop.hdfs.DFSConfigKeysThis class contains constants for configuration keys and default values used in hdfs.org.apache.hadoop.hdfs.DFSHedgedReadMetricsThe client-side metrics for hedged read feature.Stream for reading inotify events.org.apache.hadoop.hdfs.DFSInputStreamDFSInputStream provides bytes from a named file.org.apache.hadoop.hdfs.DFSOpsCountStatisticsThis storage statistics tracks how many times each DFS operation was issued.This is for counting distributed file system operations.org.apache.hadoop.hdfs.DFSOutputStreamDFSOutputStream creates files from a stream of bytes.org.apache.hadoop.hdfs.DFSPacketDFSPacket is used by DataStreamer and DFSOutputStream.org.apache.hadoop.hdfs.DFSStripedInputStreamDFSStripedInputStream reads from striped block groups.org.apache.hadoop.hdfs.DFSStripedOutputStreamThis class supports writing files in striped layout and erasure coded format.org.apache.hadoop.hdfs.DFSUtilorg.apache.hadoop.hdfs.DFSUtil.ConfiguredNNAddressRepresent one of the NameNodes configured in the cluster.org.apache.hadoop.hdfs.DFSUtil.ServiceComparatorComparator for sorting DataNodeInfo[] based on decommissioned and entering_maintenance states.org.apache.hadoop.hdfs.DFSUtil.StaleAndSlowComparatorComparator for sorting DataNodeInfo[] based on slow, stale, entering_maintenance, decommissioning and decommissioned states.org.apache.hadoop.hdfs.DFSUtilClientorg.apache.hadoop.hdfs.DFSUtilClient.CorruptedBlocksA utility class as a container to put corrupted blocks, shared by client and datanode.org.apache.hadoop.hdfs.DFSUtilClient.SnapshotDiffReportFunctionorg.apache.hadoop.hdfs.DFSUtilClient.SnapshotDiffReportListingFunctionorg.apache.hadoop.hdfs.DistributedFileSystemImplementation of the abstract FileSystem for the DFS system.org.apache.hadoop.hdfs.DistributedFileSystem.HdfsDataOutputStreamBuilderHdfsDataOutputStreamBuilder provides the HDFS-specific capabilities to write file on HDFS.org.apache.hadoop.hdfs.ExtendedBlockIdAn immutable key which identifies a block.org.apache.hadoop.hdfs.HAUtilorg.apache.hadoop.hdfs.HAUtilClientorg.apache.hadoop.hdfs.HdfsConfigurationAdds deprecated keys into the configuration.org.apache.hadoop.hdfs.HdfsDtFetcherDtFetcher is an interface which permits the abstraction and separation of delegation token fetch implementaions across different packages and compilation units.org.apache.hadoop.hdfs.HdfsKMSUtilUtility class for key provider related methods in hdfs client package.org.apache.hadoop.hdfs.HDFSPolicyProviderPolicyProviderfor HDFS protocols.org.apache.hadoop.hdfs.KeyProviderCacheorg.apache.hadoop.hdfs.LocatedBlocksRefresherPeriodically refresh the underlying cachedLocatedBlocksfor eligible registeredDFSInputStreams.org.apache.hadoop.hdfs.NameNodeProxiesCreate proxy objects to communicate with a remote NN.org.apache.hadoop.hdfs.NameNodeProxiesClientCreate proxy objects withClientProtocolandHAServiceProtocolto communicate with a remote NN.org.apache.hadoop.hdfs.NameNodeProxiesClient.ProxyAndInfo<PROXYTYPE>Wrapper for a client proxy as well as its associated service ID.org.apache.hadoop.hdfs.PeerCacheA cache of input stream sockets to Data Node.org.apache.hadoop.hdfs.ReadStatisticsA utility class that maintains statistics for reading.org.apache.hadoop.hdfs.RemotePeerFactoryThe public API for ReplicaAccessor objects.The public API for creating a new ReplicaAccessor.org.apache.hadoop.hdfs.StripedDataStreamerThis class extendsDataStreamerto support writing striped blocks to datanodes.org.apache.hadoop.hdfs.SWebHdfsDtFetcherDtFetcher for SWebHdfsFileSystem using the base class HdfsDtFetcher impl.Thrown when an unknown cipher suite is encountered.org.apache.hadoop.hdfs.ViewDistributedFileSystemThe ViewDistributedFileSystem is an extended class to DistributedFileSystem with additional mounting functionality.org.apache.hadoop.hdfs.WebHdfsDtFetcherDtFetcher for WebHdfsFileSystem using the base class HdfsDtFetcher impl.org.apache.hadoop.hdfs.XAttrHelper
HdfsDataInputStreaminstead.