public FileStatus getFileStatus ( Path f ) throws IOException { FileStatus fi = dfs . getFileInfo ( getPathName ( f ) ) ; if ( fi != null ) { fi . makeQualified ( this ) ; return fi ; } else { throw new FileNotFoundException ( "File does not exist: " + f ) ; } }
Returns the stat information about the file .