Package org.apache.hadoop.hdfs
package org.apache.hadoop.hdfs
-
ClassDescriptionAddBlockFlag provides hints for new block allocation and placement.This exception is thrown when a read encounters a block that has no locations associated with it.A 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.ClientContext contains context information for a client.Global State Id context for the client.Detect the dead nodes in advance, and share this information among all the DFSInputStreams in the same client.DFSClient can connect to a Hadoop Filesystem and perform basic file tasks.Deprecated.Used for injecting faults in DFSClient and DFSOutputStream tests.The client-side metrics for hedged read feature.Stream for reading inotify events.DFSInputStream provides bytes from a named file.This storage statistics tracks how many times each DFS operation was issued.This is for counting distributed file system operations.DFSOutputStream creates files from a stream of bytes.DFSPacket is used by DataStreamer and DFSOutputStream.DFSStripedInputStream reads from striped block groups.This class supports writing files in striped layout and erasure coded format.A utility class as a container to put corrupted blocks, shared by client and datanode.Implementation of the abstract FileSystem for the DFS system.HdfsDataOutputStreamBuilder provides the HDFS-specific capabilities to write file on HDFS.An immutable key which identifies a block.Adds deprecated keys into the configuration.Utility class for key provider related methods in hdfs client package.Periodically refresh the underlying cached
LocatedBlocksfor eligible registeredDFSInputStreams.Create proxy objects withClientProtocolandHAServiceProtocolto communicate with a remote NN.NameNodeProxiesClient.ProxyAndInfo<PROXYTYPE>Wrapper for a client proxy as well as its associated service ID.A cache of input stream sockets to Data Node.A utility class that maintains statistics for reading.The public API for ReplicaAccessor objects.The public API for creating a new ReplicaAccessor.This class extendsDataStreamerto support writing striped blocks to datanodes.Thrown when an unknown cipher suite is encountered.The ViewDistributedFileSystem is an extended class to DistributedFileSystem with additional mounting functionality.
HdfsDataInputStreaminstead.