org.apache.hadoop.dfs
Class HsftpFileSystem

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

public class HsftpFileSystem
extends HftpFileSystem

An implementation of a protocol for accessing filesystems over HTTPS. The following implementation provides a limited, read-only interface to a filesystem over HTTPS.

See Also:
ListPathsServlet, FileDataServlet

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem
FileSystem.Statistics
 
Field Summary
 
Fields inherited from class org.apache.hadoop.dfs.HftpFileSystem
df, nnAddr, ugi
 
Fields inherited from class org.apache.hadoop.fs.FileSystem
LOG, statistics
 
Constructor Summary
HsftpFileSystem()
           
 
Method Summary
 URI getUri()
          Returns a URI whose scheme and authority identify this FileSystem.
protected  HttpURLConnection openConnection(String path, String query)
          Open an HTTP connection to the namenode to read file data and metadata.
 
Methods inherited from class org.apache.hadoop.dfs.HftpFileSystem
append, create, delete, delete, getFileStatus, getWorkingDirectory, initialize, listStatus, mkdirs, open, rename, setWorkingDirectory
 
Methods inherited from class org.apache.hadoop.fs.FileSystem
append, append, checkPath, close, closeAll, completeLocalOutput, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, createNewFile, deleteOnExit, exists, get, get, getBlockSize, getContentSummary, getDefaultBlockSize, getDefaultReplication, getDefaultUri, getFileBlockLocations, getFileBlockLocations, getHomeDirectory, getLength, getLocal, getName, getNamed, getReplication, getStatistics, getUsed, globStatus, globStatus, isDirectory, isFile, listStatus, listStatus, listStatus, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, open, parseArgs, printStatistics, processDeleteOnExit, setDefaultUri, setDefaultUri, setOwner, setPermission, setReplication, startLocalOutput
 
Methods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HsftpFileSystem

public HsftpFileSystem()
Method Detail

openConnection

protected HttpURLConnection openConnection(String path,
                                           String query)
                                    throws IOException
Description copied from class: HftpFileSystem
Open an HTTP connection to the namenode to read file data and metadata.

Overrides:
openConnection in class HftpFileSystem
Parameters:
path - The path component of the URL
query - The query component of the URL
Throws:
IOException

getUri

public URI getUri()
Description copied from class: FileSystem
Returns a URI whose scheme and authority identify this FileSystem.

Overrides:
getUri in class HftpFileSystem


Copyright © 2008 The Apache Software Foundation