|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FileSystem
org.apache.hadoop.hdfs.HftpFileSystem
org.apache.hadoop.hdfs.HsftpFileSystem
@InterfaceAudience.Private @InterfaceStability.Evolving public class HsftpFileSystem
An implementation of a protocol for accessing filesystems over HTTPS. The following implementation provides a limited, read-only interface to a filesystem over HTTPS.
ListPathsServlet
,
FileDataServlet
Nested Class Summary | |
---|---|
protected static class |
HsftpFileSystem.DummyHostnameVerifier
Dummy hostname verifier that is used to bypass hostname checking |
protected static class |
HsftpFileSystem.DummyTrustManager
Dummy trustmanager that is used to trust all server certificates |
Nested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem |
---|
org.apache.hadoop.fs.FileSystem.Statistics |
Field Summary |
---|
Fields inherited from class org.apache.hadoop.hdfs.HftpFileSystem |
---|
df, HFTP_DATE_FORMAT, HFTP_TIMEZONE, nnAddr, ran, ugi |
Fields inherited from class org.apache.hadoop.fs.FileSystem |
---|
DEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, statistics |
Constructor Summary | |
---|---|
HsftpFileSystem()
|
Method Summary | |
---|---|
URI |
getUri()
|
void |
initialize(URI name,
org.apache.hadoop.conf.Configuration conf)
|
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.hdfs.HftpFileSystem |
---|
append, create, delete, getContentSummary, getDateFormat, getFileChecksum, getFileStatus, getWorkingDirectory, listStatus, mkdirs, open, rename, setWorkingDirectory |
Methods inherited from class org.apache.hadoop.fs.FileSystem |
---|
append, append, checkPath, clearStatistics, close, closeAll, completeLocalOutput, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, createNewFile, delete, deleteOnExit, exists, get, get, get, getAllStatistics, getBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultUri, getFileBlockLocations, getFileBlockLocations, getHomeDirectory, getInitialWorkingDirectory, getLength, getLocal, getName, getNamed, getReplication, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getUsed, globStatus, globStatus, isDirectory, isFile, listStatus, listStatus, listStatus, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, rename, setDefaultUri, setDefaultUri, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, 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 |
---|
public HsftpFileSystem()
Method Detail |
---|
public void initialize(URI name, org.apache.hadoop.conf.Configuration conf) throws IOException
initialize
in class HftpFileSystem
IOException
protected HttpURLConnection openConnection(String path, String query) throws IOException
HftpFileSystem
openConnection
in class HftpFileSystem
path
- The path component of the URLquery
- The query component of the URL
IOException
public URI getUri()
getUri
in class HftpFileSystem
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |