Save This Page
Home » hadoop-0.14.4 » org.apache » hadoop » fs » [javadoc | source]
org.apache.hadoop.fs
public class: LocalFileSystem [javadoc | source]
java.lang.Object
   org.apache.hadoop.conf.Configured
      org.apache.hadoop.fs.FileSystem
         org.apache.hadoop.fs.FilterFileSystem
            org.apache.hadoop.fs.ChecksumFileSystem
               org.apache.hadoop.fs.LocalFileSystem

All Implemented Interfaces:
    Configurable

Implement the FileSystem API for the checksumed local filesystem.
Field Summary
static final  URI NAME     
Fields inherited from org.apache.hadoop.fs.FilterFileSystem:
fs
Fields inherited from org.apache.hadoop.fs.FileSystem:
LOG
Constructor:
 public LocalFileSystem() 
 public LocalFileSystem(FileSystem rawLocalFileSystem) 
Method from org.apache.hadoop.fs.LocalFileSystem Summary:
copyFromLocalFile,   copyToLocalFile,   pathToFile,   reportChecksumFailure
Methods from org.apache.hadoop.fs.ChecksumFileSystem:
completeLocalOutput,   copyFromLocalFile,   copyToLocalFile,   copyToLocalFile,   create,   delete,   getApproxChkSumLength,   getBytesPerSum,   getChecksumFile,   getChecksumFileLength,   getRawFileSystem,   isChecksumFile,   listPaths,   listPaths,   lock,   mkdirs,   open,   release,   rename,   reportChecksumFailure,   setReplication,   startLocalOutput
Methods from org.apache.hadoop.fs.FilterFileSystem:
checkPath,   close,   completeLocalOutput,   copyFromLocalFile,   copyToLocalFile,   create,   delete,   exists,   getConf,   getDefaultBlockSize,   getDefaultReplication,   getFileCacheHints,   getFileStatus,   getName,   getUri,   getWorkingDirectory,   initialize,   listPaths,   lock,   makeQualified,   mkdirs,   open,   release,   rename,   setReplication,   setWorkingDirectory,   startLocalOutput
Methods from org.apache.hadoop.fs.FileSystem:
checkPath,   close,   closeAll,   completeLocalOutput,   copyFromLocalFile,   copyFromLocalFile,   copyToLocalFile,   copyToLocalFile,   create,   create,   create,   create,   create,   create,   create,   create,   createNewFile,   delete,   exists,   get,   get,   getBlockSize,   getContentLength,   getDefaultBlockSize,   getDefaultReplication,   getFileCacheHints,   getFileStatus,   getLength,   getLocal,   getName,   getNamed,   getReplication,   getUri,   getUsed,   getWorkingDirectory,   globPaths,   globPaths,   initialize,   isDirectory,   isFile,   listPaths,   listPaths,   listPaths,   listPaths,   lock,   makeQualified,   mkdirs,   moveFromLocalFile,   moveToLocalFile,   open,   open,   parseArgs,   release,   rename,   setReplication,   setWorkingDirectory,   startLocalOutput
Methods from org.apache.hadoop.conf.Configured:
getConf,   setConf
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.hadoop.fs.LocalFileSystem Detail:
 public  void copyFromLocalFile(boolean delSrc,
    Path src,
    Path dst) throws IOException 
 public  void copyToLocalFile(boolean delSrc,
    Path src,
    Path dst) throws IOException 
 public File pathToFile(Path path) 
    Convert a path to a File.
 public boolean reportChecksumFailure(Path p,
    FSDataInputStream in,
    long inPos,
    FSDataInputStream sums,
    long sumsPos) 
    Moves files to a bad file directory on the same device, so that their storage will not be reused.