@InterfaceAudience.Private @InterfaceStability.Evolving public class HsftpFileSystem extends HftpFileSystem
ListPathsServlet,
FileDataServlet| Modifier and Type | Class and Description |
|---|---|
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
|
HftpFileSystem.TokenManagerFileSystem.Statisticsdf, HFTP_DATE_FORMAT, HFTP_TIMEZONE, nnUri, TOKEN_KIND, ugiDEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, SHUTDOWN_HOOK_PRIORITY, statistics| Constructor and Description |
|---|
HsftpFileSystem() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
getDefaultPort()
Get the default port for this file system.
|
String |
getScheme()
Return the protocol scheme for the FileSystem.
|
protected String |
getUnderlyingProtocol()
Return the underlying protocol that is used to talk to the namenode.
|
void |
initialize(URI name,
Configuration conf)
Called after a new FileSystem instance is constructed.
|
protected HttpURLConnection |
openConnection(String path,
String query)
Open an HTTP connection to the namenode to read file data and metadata.
|
addDelegationTokenParam, append, canonicalizeUri, close, create, delete, getCanonicalServiceName, getContentSummary, getDateFormat, getDelegationToken, getFileChecksum, getFileStatus, getNamenodeAddr, getNamenodeUri, getNamenodeURL, getRenewToken, getUri, getWorkingDirectory, initDelegationToken, listStatus, mkdirs, open, rename, selectDelegationToken, setDelegationToken, setWorkingDirectoryaddDelegationTokens, append, append, cancelDeleteOnExit, checkPath, clearStatistics, closeAll, closeAllForUGI, completeLocalOutput, concat, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, create, createNewFile, createNonRecursive, createNonRecursive, createNonRecursive, createSnapshot, createSnapshot, createSymlink, delete, deleteOnExit, deleteSnapshot, enableSymlinks, exists, fixRelativePart, get, get, get, getAllStatistics, getBlockSize, getCanonicalUri, getChildFileSystems, getDefaultBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultReplication, getDefaultUri, getFileBlockLocations, getFileBlockLocations, getFileLinkStatus, getFileSystemClass, getFSofPath, getHomeDirectory, getInitialWorkingDirectory, getLength, getLinkTarget, getLocal, getName, getNamed, getReplication, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getUsed, globStatus, globStatus, isDirectory, isFile, isSymlinksEnabled, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatus, listStatus, listStatus, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, rename, renameSnapshot, resolveLink, resolvePath, setDefaultUri, setDefaultUri, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, setWriteChecksum, startLocalOutput, supportsSymlinksgetConf, setConfpublic String getScheme()
getScheme in class HftpFileSystemhsftpprotected String getUnderlyingProtocol()
getUnderlyingProtocol in class HftpFileSystempublic void initialize(URI name, Configuration conf) throws IOException
FileSysteminitialize in class HftpFileSystemname - a uri whose authority section names the host, port, etc.
for this FileSystemconf - the configurationIOExceptionprotected int getDefaultPort()
FileSystemgetDefaultPort in class HftpFileSystemprotected HttpURLConnection openConnection(String path, String query) throws IOException
HftpFileSystemopenConnection in class HftpFileSystempath - The path component of the URLquery - The query component of the URLIOExceptionCopyright © 2013 Apache Software Foundation. All rights reserved.