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
connectionFactory, LOG, PATH_PREFIX, tokenAspect, 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
protected  int getDefaultPort()
           
 String getScheme()
          Return the protocol scheme for the FileSystem.
protected  String getTransportScheme()
          return the underlying transport protocol (http / https).
protected  void initializeTokenAspect()
          Initialize tokenAspect.
 
Methods inherited from class org.apache.hadoop.hdfs.web.WebHdfsFileSystem
append, cancelDelegationToken, canonicalizeUri, close, concat, create, createSymlink, delete, getAclStatus, getCanonicalServiceName, getCanonicalUri, getContentSummary, getDefaultBlockSize, getDefaultReplication, getDelegationToken, getDelegationToken, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileStatus, getHomeDirectory, getHomeDirectoryString, getRenewToken, getUri, getWorkingDirectory, initialize, isEnabled, listStatus, mkdirs, modifyAclEntries, open, removeAcl, removeAclEntries, removeDefaultAcl, rename, rename, renewDelegationToken, setAcl, setDelegationToken, setOwner, setPermission, setReplication, setTimes, setWorkingDirectory
 
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, createSnapshot, delete, deleteOnExit, deleteSnapshot, enableSymlinks, exists, fixRelativePart, get, get, get, getAllStatistics, getBlockSize, getDefaultBlockSize, getDefaultReplication, getDefaultUri, 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, renameSnapshot, resolveLink, resolvePath, setDefaultUri, setDefaultUri, setVerifyChecksum, setWriteChecksum, 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

initializeTokenAspect

protected void initializeTokenAspect()
Description copied from class: WebHdfsFileSystem
Initialize tokenAspect. This function is intended to be overridden by SWebHdfsFileSystem.

Overrides:
initializeTokenAspect in class WebHdfsFileSystem

getDefaultPort

protected int getDefaultPort()
Overrides:
getDefaultPort in class WebHdfsFileSystem


Copyright © 2014 Apache Software Foundation. All Rights Reserved.