public synchronized FileSystem getFs ( ) throws IOException { if ( this . fs == null ) { Path sysDir = getSystemDir ( ) ; this . fs = sysDir . getFileSystem ( getConf ( ) ) ; } return fs ; }
Get a filesystem handle . We need this to prepare jobs for submission to the MapReduce system .