public class HsftpFileSystem extends HftpFileSystem
| 限定符和类型 | 类和说明 |
|---|---|
protected static class |
HsftpFileSystem.DummyHostnameVerifier
Dummy hostname verifier that is used to bypass hostname checking
|
static class |
HsftpFileSystem.TokenManager |
FileSystem.Statistics| 限定符和类型 | 字段和说明 |
|---|---|
static Text |
TOKEN_KIND |
df, HFTP_DATE_FORMAT, HFTP_TIMEZONE, nnAddr, ugiFS_DEFAULT_NAME_KEY, LOG, statistics| 构造器和说明 |
|---|
HsftpFileSystem() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
getDefaultPort()
Get the default port for this file system.
|
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.
|
protected Token<DelegationTokenIdentifier> |
selectHftpDelegationToken() |
append, close, create, delete, delete, getCanonicalServiceName, getContentSummary, getDateFormat, getDelegationToken, getFileChecksum, getFileStatus, getNamenodeAddr, getRenewToken, getUri, getWorkingDirectory, initDelegationToken, listStatus, mkdirs, open, rename, selectHdfsDelegationToken, setDelegationToken, setWorkingDirectory, updateQueryaddFileSystemForTesting, append, append, checkPath, clearStatistics, closeAll, closeAllForUGI, completeLocalOutput, concat, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, createNewFile, createNonRecursive, createNonRecursive, deleteOnExit, exists, get, get, get, getAllStatistics, getBlockSize, getCacheSize, getCanonicalUri, getDefaultBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultReplication, getDefaultUri, getFileBlockLocations, getHomeDirectory, getLength, getLocal, getName, getNamed, getReplication, getStatistics, getStatistics, getUsed, globStatus, globStatus, isDirectory, isFile, listStatus, listStatus, listStatus, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, open, printStatistics, processDeleteOnExit, setDefaultUri, setDefaultUri, setOwner, setPermission, setReplication, setTimes, setVerifyChecksum, startLocalOutputgetConf, setConfpublic static final Text TOKEN_KIND
public void initialize(URI name, Configuration conf) throws IOException
FileSysteminitialize 在类中 HftpFileSystemname - a uri whose authority section names the host, port, etc.
for this FileSystemconf - the configurationIOExceptionprotected int getDefaultPort()
FileSystemgetDefaultPort 在类中 HftpFileSystemprotected String getUnderlyingProtocol()
getUnderlyingProtocol 在类中 HftpFileSystemprotected HttpURLConnection openConnection(String path, String query) throws IOException
HftpFileSystemopenConnection 在类中 HftpFileSystempath - The path component of the URLquery - The query component of the URLIOExceptionprotected Token<DelegationTokenIdentifier> selectHftpDelegationToken()
Copyright © 2009 The Apache Software Foundation