Class DFSClient

java.lang.Object
org.apache.hadoop.hdfs.DFSClient
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.crypto.key.KeyProviderTokenIssuer, DataEncryptionKeyFactory, RemotePeerFactory, org.apache.hadoop.security.token.DelegationTokenIssuer

@Private public class DFSClient extends Object implements Closeable, RemotePeerFactory, DataEncryptionKeyFactory, org.apache.hadoop.crypto.key.KeyProviderTokenIssuer
DFSClient can connect to a Hadoop Filesystem and perform basic file tasks. It uses the ClientProtocol to communicate with a NameNode daemon, and connects directly to DataNodes to read/write block data. Hadoop DFS users should obtain an instance of DistributedFileSystem, which uses DFSClient to handle filesystem tasks.