@ThreadSafe public class WasbUnderFileSystem extends HdfsUnderFileSystem
UnderFileSystem uses the Microsoft Azure Blob Storage.UnderFileSystem.Factory, UnderFileSystem.SpaceType| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCHEME
Constant for the wasb URI scheme.
|
mUri| Constructor and Description |
|---|
WasbUnderFileSystem(AlluxioURI ufsUri,
UnderFileSystemConfiguration conf,
org.apache.hadoop.conf.Configuration wasbConf)
Constructs a new Wasb
UnderFileSystem. |
| Modifier and Type | Method and Description |
|---|---|
static org.apache.hadoop.conf.Configuration |
createConfiguration(UnderFileSystemConfiguration conf)
Prepares the configuration for this Wasb as an HDFS configuration.
|
static WasbUnderFileSystem |
createInstance(AlluxioURI uri,
UnderFileSystemConfiguration conf)
Factory method to construct a new Wasb
UnderFileSystem. |
long |
getBlockSizeByte(java.lang.String path) |
java.util.List<java.lang.String> |
getFileLocations(java.lang.String path) |
java.util.List<java.lang.String> |
getFileLocations(java.lang.String path,
FileLocationOptions options) |
java.lang.String |
getUnderFSType() |
close, connectFromMaster, connectFromWorker, create, createDirect, deleteDirectory, deleteFile, exists, getDirectoryStatus, getFileStatus, getSpace, getStatus, isDirectory, isFile, isSeekable, listStatus, mkdirs, open, renameDirectory, renameFile, setMode, setOwner, supportsFlushcreate, deleteDirectory, getFingerprint, isObjectStorage, listStatus, mkdirs, open, resolveUri, validatePathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, deleteDirectory, getFingerprint, isObjectStorage, listStatus, mkdirs, open, resolveUripublic static final java.lang.String SCHEME
public WasbUnderFileSystem(AlluxioURI ufsUri, UnderFileSystemConfiguration conf, org.apache.hadoop.conf.Configuration wasbConf)
UnderFileSystem.ufsUri - the AlluxioURI for this UFSconf - the configuration for this UFSwasbConf - the configuration for this Wasb UFSpublic static org.apache.hadoop.conf.Configuration createConfiguration(UnderFileSystemConfiguration conf)
conf - the configuration for this UFSpublic static WasbUnderFileSystem createInstance(AlluxioURI uri, UnderFileSystemConfiguration conf)
UnderFileSystem.uri - the AlluxioURI for this UFSconf - the configuration for this UFSUnderFileSystem instancepublic java.lang.String getUnderFSType()
getUnderFSType in interface UnderFileSystemgetUnderFSType in class HdfsUnderFileSystempublic long getBlockSizeByte(java.lang.String path)
throws java.io.IOException
getBlockSizeByte in interface UnderFileSystemgetBlockSizeByte in class HdfsUnderFileSystemjava.io.IOExceptionpublic java.util.List<java.lang.String> getFileLocations(java.lang.String path)
throws java.io.IOException
getFileLocations in interface UnderFileSystemgetFileLocations in class HdfsUnderFileSystemjava.io.IOExceptionpublic java.util.List<java.lang.String> getFileLocations(java.lang.String path,
FileLocationOptions options)
throws java.io.IOException
getFileLocations in interface UnderFileSystemgetFileLocations in class HdfsUnderFileSystemjava.io.IOExceptionCopyright © 2018. All Rights Reserved.