org.apache.hadoop.hdfs.web
Class SWebHdfsFileSystem

java.lang.Object
  extended by org.apache.hadoop.conf.Configured
      extended by org.apache.hadoop.fs.FileSystem
          extended by org.apache.hadoop.hdfs.web.WebHdfsFileSystem
              extended by org.apache.hadoop.hdfs.web.SWebHdfsFileSystem
All Implemented Interfaces:
Closeable, org.apache.hadoop.conf.Configurable, org.apache.hadoop.fs.DelegationTokenRenewer.Renewable

public class SWebHdfsFileSystem
extends WebHdfsFileSystem


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.fs.FileSystem
org.apache.hadoop.fs.FileSystem.Statistics
 
Field Summary
static String SCHEME
           
static org.apache.hadoop.io.Text TOKEN_KIND
           
 
Fields inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
CANT_FALLBACK_TO_INSECURE_MSG, connectionFactory, LOG, PATH_PREFIX, tokenServiceName, VERSION
 
Fields inherited from class org.apache.hadoop.fs.FileSystem
DEFAULT_FS, FS_DEFAULT_NAME_KEY, SHUTDOWN_HOOK_PRIORITY, statistics
 
Constructor Summary
SWebHdfsFileSystem()
           
 
Method Summary
 int getDefaultPort()
           
 String getScheme()
          Return the protocol scheme for the FileSystem.
protected  org.apache.hadoop.io.Text getTokenKind()
           
protected  String getTransportScheme()
          return the underlying transport protocol (http / https).
 
Methods inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
access, append, cancelDelegationToken, canonicalizeUri, close, concat, create, createSnapshot, createSymlink, delete, deleteSnapshot, getAclStatus, getCanonicalServiceName, getCanonicalUri, getContentSummary, getDefaultBlockSize, getDefaultReplication, getDelegationToken, getDelegationToken, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileStatus, getHomeDirectory, getHomeDirectoryString, getRenewToken, getUri, getWorkingDirectory, getXAttr, getXAttrs, getXAttrs, initialize, isEnabled, listStatus, listXAttrs, mkdirs, modifyAclEntries, open, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, rename, renameSnapshot, renewDelegationToken, setAcl, setDelegationToken, setOwner, setPermission, setReplication, setTimes, setWorkingDirectory, setXAttr
 
Methods inherited from class org.apache.hadoop.fs.FileSystem
append, append, 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, createNewFile, createNonRecursive, createNonRecursive, createNonRecursive, createSnapshot, delete, deleteOnExit, enableSymlinks, exists, fixRelativePart, get, get, get, getAllStatistics, getBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultUri, getFileChecksum, getFileLinkStatus, getFileSystemClass, getFSofPath, getInitialWorkingDirectory, getLength, getLinkTarget, getLocal, getName, getNamed, getReplication, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getUsed, globStatus, globStatus, isDirectory, isFile, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatus, listStatus, listStatus, makeQualified, mkdirs, mkdirs, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, newInstance, newInstance, newInstance, newInstanceLocal, open, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, resolveLink, resolvePath, setDefaultUri, setDefaultUri, setVerifyChecksum, setWriteChecksum, setXAttr, startLocalOutput, supportsSymlinks
 
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
 

Field Detail

TOKEN_KIND

public static final org.apache.hadoop.io.Text TOKEN_KIND

SCHEME

public static final String SCHEME
See Also:
Constant Field Values
Constructor Detail

SWebHdfsFileSystem

public SWebHdfsFileSystem()
Method Detail

getScheme

public String getScheme()
Description copied from class: WebHdfsFileSystem
Return the protocol scheme for the FileSystem.

Overrides:
getScheme in class WebHdfsFileSystem
Returns:
webhdfs

getTransportScheme

protected String getTransportScheme()
Description copied from class: WebHdfsFileSystem
return the underlying transport protocol (http / https).

Overrides:
getTransportScheme in class WebHdfsFileSystem

getTokenKind

protected org.apache.hadoop.io.Text getTokenKind()
Overrides:
getTokenKind in class WebHdfsFileSystem

getDefaultPort

public int getDefaultPort()
Overrides:
getDefaultPort in class WebHdfsFileSystem


Copyright © 2014 Apache Software Foundation. All Rights Reserved.