@ThreadSafe public class WasbUnderFileSystem extends HdfsUnderFileSystem
UnderFileSystem uses the Microsoft Azure Blob Storage.UnderFileSystem.Factory, UnderFileSystem.SpaceTypeCHECKSUM_COMBINE_MODE, HADOOP_AUTH_METHOD, HDFS_ACL_PROVIDER_CLASS, HDFS_EC_CODEC_REGISTRY_CLASS, HDFS_EC_MIN_VERSION, HDFS_USER, JAVAX_WS_RS_CORE_MEDIA_TYPE, KRB_KEYTAB_LOGIN_AUTO_RENEW, KRB5_CONF_FILE, MAX_TRY, mHdfsAclProvider, USER_NAMESPACE_PREFIXEMPTY_ACL, mUfsConf, 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,
java.lang.Boolean isSecure)
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) |
UfsStatus |
getStatus(java.lang.String path,
GetStatusOptions options) |
java.lang.String |
getUnderFSType() |
cleanup, close, connectFromMaster, connectFromWorker, create, createConfiguration, createDirect, deleteDirectory, deleteFile, exists, getAclPair, getAttributes, getDirectoryStatus, getFileStatus, getFs, getSpace, isDirectory, isFile, isSeekable, listStatus, listStatusIterable, mkdirs, open, openPositionRead, renameDirectory, renameFile, setAclEntries, setAttribute, setMode, setOwner, supportsFlushcreateNonexistingFile, createNonexistingFile, deleteExistingDirectory, deleteExistingDirectory, deleteExistingFile, getExistingDirectoryStatus, getExistingFileStatus, getExistingStatus, isExistingDirectory, openExistingFile, openExistingFile, renameRenamableDirectory, renameRenamableFilecreate, deleteDirectory, getConfiguration, getFingerprint, getOperationMode, getParsedFingerprint, getParsedFingerprint, getPhysicalStores, isObjectStorage, listStatus, mkdirs, open, performListingAsync, resolveUri, validatePathclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createNonexistingFile, createNonexistingFile, deleteDirectory, deleteExistingDirectory, deleteExistingDirectory, deleteExistingFile, getConfiguration, getExistingDirectoryStatus, getExistingFileStatus, getExistingStatus, getFileStatus, getFingerprint, getOperationMode, getParsedFingerprint, getParsedFingerprint, getPhysicalStores, getStatus, getTemporaryToken, isExistingDirectory, isObjectStorage, isTemporaryConnectionToken, listStatus, listStatuses, mkdirs, open, openExistingFile, openExistingFile, refreshTemporaryToken, renameRenamableDirectory, renameRenamableFile, resolveUri, setTemporaryTokenRefreshContextperformListingAsyncpublic 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, java.lang.Boolean isSecure)
conf - the configuration for this UFSisSecure - whether blob storage is using httpspublic 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 UfsStatus getStatus(java.lang.String path, GetStatusOptions options) throws java.io.IOException
getStatus in interface UnderFileSystemgetStatus 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 © 2024. All Rights Reserved.