Package org.apache.hadoop.hdfs.web
Class SWebHdfsFileSystem
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.fs.FileSystem
org.apache.hadoop.hdfs.web.WebHdfsFileSystem
org.apache.hadoop.hdfs.web.SWebHdfsFileSystem
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.conf.Configurable,org.apache.hadoop.crypto.key.KeyProviderTokenIssuer,org.apache.hadoop.fs.BulkDeleteSource,org.apache.hadoop.fs.DelegationTokenRenewer.Renewable,org.apache.hadoop.fs.PathCapabilities,org.apache.hadoop.security.token.DelegationTokenIssuer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
WebHdfsFileSystem.ReadRunner, WebHdfsFileSystem.WebHdfsInputStreamNested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem
org.apache.hadoop.fs.FileSystem.DirectoryEntries, org.apache.hadoop.fs.FileSystem.DirListingIterator<T extends org.apache.hadoop.fs.FileStatus>, org.apache.hadoop.fs.FileSystem.Statistics -
Field Summary
Fields inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
CANT_FALLBACK_TO_INSECURE_MSG, connectionFactory, DFS_HTTP_POLICY_KEY, EZ_HEADER, FEFINFO_HEADER, LOG, PATH_PREFIX, tokenServiceName, VERSIONFields inherited from class org.apache.hadoop.fs.FileSystem
DEFAULT_FS, FS_DEFAULT_NAME_KEY, SHUTDOWN_HOOK_PRIORITY, statistics, TRASH_PREFIX, USER_HOME_PREFIXFields inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer
TOKEN_LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intReturn the protocol scheme for the FileSystem.protected org.apache.hadoop.io.Textprotected Stringreturn the underlying transport protocol (http / https).Methods inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
access, allowSnapshot, append, cancelDelegationToken, canonicalizeUri, close, concat, create, createMultipartUploader, createNonRecursive, createSnapshot, createSymlink, delete, deleteSnapshot, disableECPolicy, disallowSnapshot, enableECPolicy, getAclStatus, getAdditionalTokenIssuers, getAllErasureCodingCodecs, getAllErasureCodingPolicies, getAllStoragePolicies, getCanonicalServiceName, getCanonicalUri, getContentSummary, getDefaultBlockSize, getDefaultReplication, getDelegationToken, getDelegationToken, getErasureCodingPolicy, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileLinkStatus, getFileStatus, getHomeDirectory, getHomeDirectoryString, getKeyProvider, getKeyProviderUri, getLinkTarget, getQuotaUsage, getRenewToken, getServerDefaults, getSnapshotDiffReport, getSnapshotDiffReportListing, getSnapshotListing, getSnapshottableDirectoryList, getStatus, getStoragePolicy, getTrashRoot, getTrashRoots, getUri, getWorkingDirectory, getXAttr, getXAttrs, getXAttrs, hasPathCapability, initialize, jsonParse, listStatus, listStatusBatch, listXAttrs, mkdirs, modifyAclEntries, open, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, rename, renameSnapshot, renewDelegationToken, satisfyStoragePolicy, setAcl, setDelegationToken, setErasureCodingPolicy, setOwner, setPermission, setQuota, setQuotaByStorageType, setReplication, setRetryPolicy, setStoragePolicy, setTestProvider, setTimes, setWorkingDirectory, setXAttr, supportsSymlinks, truncate, unsetErasureCodingPolicy, unsetStoragePolicyMethods inherited from class org.apache.hadoop.fs.FileSystem
append, append, append, append, appendFile, areSymlinksEnabled, cancelDeleteOnExit, checkPath, clearStatistics, closeAll, closeAllForUGI, completeLocalOutput, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, create, createBulkDelete, createDataInputStreamBuilder, createDataInputStreamBuilder, createDataOutputStreamBuilder, createFile, createNewFile, createNonRecursive, createNonRecursive, createPathHandle, createSnapshot, delete, deleteOnExit, enableSymlinks, exists, fixRelativePart, get, get, get, getAllStatistics, getBlockSize, getChildFileSystems, getDefaultBlockSize, getDefaultReplication, getDefaultUri, getEnclosingRoot, getFileChecksum, getFileSystemClass, getFSofPath, getGlobalStorageStatistics, getInitialWorkingDirectory, getLength, getLocal, getName, getNamed, getPathHandle, getReplication, getServerDefaults, getStatistics, getStatistics, getStatus, getStorageStatistics, getUsed, getUsed, globStatus, globStatus, isDirectory, isFile, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatus, listStatus, listStatus, listStatusIterator, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, msync, newInstance, newInstance, newInstance, newInstanceLocal, open, open, open, openFile, openFile, openFileWithOptions, openFileWithOptions, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, resolveLink, resolvePath, setDefaultUri, setDefaultUri, setVerifyChecksum, setWriteChecksum, setXAttr, startLocalOutputMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConfMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.security.token.DelegationTokenIssuer
addDelegationTokens
-
Constructor Details
-
SWebHdfsFileSystem
public SWebHdfsFileSystem()
-
-
Method Details
-
getScheme
Description copied from class:WebHdfsFileSystemReturn the protocol scheme for the FileSystem.- Overrides:
getSchemein classWebHdfsFileSystem- Returns:
webhdfs
-
getTransportScheme
Description copied from class:WebHdfsFileSystemreturn the underlying transport protocol (http / https).- Overrides:
getTransportSchemein classWebHdfsFileSystem
-
getTokenKind
protected org.apache.hadoop.io.Text getTokenKind()- Overrides:
getTokenKindin classWebHdfsFileSystem
-
getDefaultPort
protected int getDefaultPort()- Overrides:
getDefaultPortin classWebHdfsFileSystem
-