Package alluxio.underfs.ozone
Class OzoneUnderFileSystem
- java.lang.Object
-
- alluxio.underfs.BaseUnderFileSystem
-
- alluxio.underfs.ConsistentUnderFileSystem
-
- alluxio.underfs.hdfs.HdfsUnderFileSystem
-
- alluxio.underfs.ozone.OzoneUnderFileSystem
-
- All Implemented Interfaces:
alluxio.underfs.AtomicFileOutputStreamCallback,alluxio.underfs.UnderFileSystem,java.io.Closeable,java.lang.AutoCloseable
@ThreadSafe public class OzoneUnderFileSystem extends alluxio.underfs.hdfs.HdfsUnderFileSystemOzoneUnderFileSystemimplementation.
-
-
Constructor Summary
Constructors Constructor Description OzoneUnderFileSystem(alluxio.AlluxioURI ufsUri, alluxio.underfs.UnderFileSystemConfiguration conf, org.apache.hadoop.conf.Configuration hdfsConf)Constructs a new OzoneUnderFileSystem.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OzoneUnderFileSystemcreateInstance(alluxio.AlluxioURI ufsUri, alluxio.underfs.UnderFileSystemConfiguration conf)Factory method to constructs a new OzoneUnderFileSysteminstance.java.lang.StringgetUnderFSType()-
Methods inherited from class alluxio.underfs.hdfs.HdfsUnderFileSystem
cleanup, close, connectFromMaster, connectFromWorker, create, createConfiguration, createDirect, deleteDirectory, deleteFile, exists, getAclPair, getActiveSyncInfo, getBlockSizeByte, getDirectoryStatus, getFileLocations, getFileLocations, getFileStatus, getSpace, getStatus, isDirectory, isFile, isSeekable, listStatus, mkdirs, open, openPositionRead, renameDirectory, renameFile, setAclEntries, setMode, setOwner, startActiveSyncPolling, startSync, stopActiveSyncPolling, stopSync, supportsActiveSync, supportsFlush
-
Methods inherited from class alluxio.underfs.ConsistentUnderFileSystem
createNonexistingFile, createNonexistingFile, deleteExistingDirectory, deleteExistingDirectory, deleteExistingFile, getExistingDirectoryStatus, getExistingFileStatus, getExistingStatus, isExistingDirectory, openExistingFile, openExistingFile, renameRenamableDirectory, renameRenamableFile
-
Methods inherited from class alluxio.underfs.BaseUnderFileSystem
create, deleteDirectory, getConfiguration, getFingerprint, getOperationMode, getParsedFingerprint, getPhysicalStores, isObjectStorage, listStatus, mkdirs, open, resolveUri, validatePath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface alluxio.underfs.UnderFileSystem
create, createNonexistingFile, createNonexistingFile, deleteDirectory, deleteExistingDirectory, deleteExistingDirectory, deleteExistingFile, getConfiguration, getExistingDirectoryStatus, getExistingFileStatus, getExistingStatus, getFingerprint, getOperationMode, getParsedFingerprint, getPhysicalStores, isExistingDirectory, isObjectStorage, listStatus, listStatuses, mkdirs, open, openExistingFile, openExistingFile, renameRenamableDirectory, renameRenamableFile, resolveUri
-
-
-
-
Constructor Detail
-
OzoneUnderFileSystem
public OzoneUnderFileSystem(alluxio.AlluxioURI ufsUri, alluxio.underfs.UnderFileSystemConfiguration conf, org.apache.hadoop.conf.Configuration hdfsConf)Constructs a new OzoneUnderFileSystem.- Parameters:
ufsUri- theAlluxioURIfor this UFSconf- the configuration for this UFShdfsConf- the configuration for Ozone
-
-
Method Detail
-
createInstance
public static OzoneUnderFileSystem createInstance(alluxio.AlluxioURI ufsUri, alluxio.underfs.UnderFileSystemConfiguration conf)
Factory method to constructs a new OzoneUnderFileSysteminstance.- Parameters:
ufsUri- theAlluxioURIfor this UFSconf- the configuration for Hadoop- Returns:
- a new Ozone
UnderFileSysteminstance
-
getUnderFSType
public java.lang.String getUnderFSType()
- Specified by:
getUnderFSTypein interfacealluxio.underfs.UnderFileSystem- Overrides:
getUnderFSTypein classalluxio.underfs.hdfs.HdfsUnderFileSystem
-
-