On Sun, Jan 2, 2011 at 2:32 PM, Noah Watkins <jayh...@cs.ucsc.edu> wrote: >> Most of the Hadoop code base (MapReduce, FsShell etc) has not yet >> switched to the new API yet. > > I have a FS implementation that is nearly complete, and designed against the > 0.21 code base, using the old FileSystem interface. Do you have any > recommendations on how to move to the new API in trunk? >
Porting from FileSystem to FileContext/AbstractFileSystem is fairly straight forward as the APIs are similar (though now split across two classes). If you're just implementing a new file system you just switch from using FileSystem to AbstractFileSystem (eg checkout ChecksumFileSystem vs ChecksumFs). Thanks, Eli