Most of the Hadoop code base (MapReduce, FsShell etc) has not yet switched to the new API yet.
On Fri, Dec 31, 2010 at 9:16 AM, Zhenhua Guo <jen...@gmail.com> wrote: > Eli, > Thanks. > So the new API is being used by default in current version of Hadoop, > e.g. 0.21.0 and up? > > Gerald > > On Fri, Dec 31, 2010 at 12:06 AM, Eli Collins <e...@cloudera.com> wrote: >> Hey Gerald, >> >> Yes, there's a new API. FileSystem is replaced by two new classes: >> FileContext (the user-facing API) and AbstractFileSystem (the fs >> implementation API). So the AbstractFileSystem derived classes replace >> the FileSystem derived classes. >> >> Thanks, >> Eli >> >> On Thu, Dec 30, 2010 at 8:16 PM, Zhenhua Guo <jen...@gmail.com> wrote: >>> I noticed that in HDFS there are two sets of API classes - *FileSystem >>> and *FS, e.g. FtpFileSystem vs. FtpFs, ChecksumFileSystem vs. >>> ChecksumFS. I wonder what is the difference. One is replacement of the >>> other? >>> >>> Thanks >>> Gerald >>> >> >