Hi JD, FileSystem is a public API but DFSClient is an internal class. For developing Hadoop applications, we should use FileSystem.
Tsz-Wo ________________________________ From: jagaran das <jagaran_...@yahoo.co.in> To: "common-user@hadoop.apache.org" <common-user@hadoop.apache.org> Sent: Sunday, July 31, 2011 2:50 PM Subject: DFSClient Protocol and FileSystem class What is the difference between DFSClient Protocol and FileSystem class in Hadoop DFS (HDFS). Both of these classes are used for connecting a remote client to the namenode in HDFS. So, I wanted to know the advantages of one over the other and which one is suitable for remote-client connection. Regards, JD