org.apache.hadoop.fs
Class ProxyLocalFileSystem

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.fs.FileSystem
          extended by org.apache.hadoop.fs.FilterFileSystem
              extended by org.apache.hadoop.fs.ProxyLocalFileSystem
All Implemented Interfaces:
Closeable, org.apache.hadoop.conf.Configurable

public class ProxyLocalFileSystem
extends org.apache.hadoop.fs.FilterFileSystem

A Proxy for LocalFileSystem Serves uri's corresponding to 'pfile:///' namespace with using a LocalFileSystem


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem
org.apache.hadoop.fs.FileSystem.Statistics
 
Field Summary
protected  org.apache.hadoop.fs.LocalFileSystem localFs
           
 
Fields inherited from class org.apache.hadoop.fs.FilterFileSystem
fs
 
Fields inherited from class org.apache.hadoop.fs.FileSystem
LOG, statistics
 
Constructor Summary
ProxyLocalFileSystem()
           
ProxyLocalFileSystem(org.apache.hadoop.fs.FileSystem fs)
           
 
Method Summary
 void initialize(URI name, org.apache.hadoop.conf.Configuration conf)
           
 
Methods inherited from class org.apache.hadoop.fs.FilterFileSystem
append, checkPath, close, completeLocalOutput, copyFromLocalFile, copyToLocalFile, create, delete, delete, getConf, getDefaultBlockSize, getDefaultReplication, getFileBlockLocations, getFileChecksum, getFileStatus, getHomeDirectory, getName, getUri, getWorkingDirectory, listStatus, makeQualified, mkdirs, open, rename, setOwner, setPermission, setReplication, setVerifyChecksum, setWorkingDirectory, startLocalOutput
 
Methods inherited from class org.apache.hadoop.fs.FileSystem
append, append, clearStatistics, closeAll, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, createNewFile, deleteOnExit, exists, get, get, getAllStatistics, getBlockSize, getContentSummary, getDefaultUri, getLength, getLocal, getNamed, getReplication, getStatistics, getStatistics, getUsed, globStatus, globStatus, isDirectory, isFile, listStatus, listStatus, listStatus, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, open, printStatistics, processDeleteOnExit, setDefaultUri, setDefaultUri, setTimes
 
Methods inherited from class org.apache.hadoop.conf.Configured
setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

localFs

protected org.apache.hadoop.fs.LocalFileSystem localFs
Constructor Detail

ProxyLocalFileSystem

public ProxyLocalFileSystem()

ProxyLocalFileSystem

public ProxyLocalFileSystem(org.apache.hadoop.fs.FileSystem fs)
Method Detail

initialize

public void initialize(URI name,
                       org.apache.hadoop.conf.Configuration conf)
                throws IOException
Overrides:
initialize in class org.apache.hadoop.fs.FilterFileSystem
Throws:
IOException


Copyright © 2013 The Apache Software Foundation