java.io.Closeable, java.lang.AutoCloseable, Configurable, BulkDeleteSource, PathCapabilities, Fid, DelegationTokenIssuerpublic abstract class AbstractMapRFileSystem extends FileSystem implements Fid
FileSystem.
This class should be used from Hadoop side to get access to MapR-FS specific functionality.
The concrete MapR-FS implementation of the Hadoop distributed file system should extend this class
and provide an implementation of all declared methods.FileSystem.DirectoryEntries, FileSystem.DirListingIterator<T extends FileStatus>, FileSystem.StatisticsDEFAULT_FS, FS_DEFAULT_NAME_KEY, LOG, SHUTDOWN_HOOK_PRIORITY, statistics, TRASH_PREFIX, USER_HOME_PREFIXTOKEN_LOG| Constructor | Description |
|---|---|
AbstractMapRFileSystem() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract int |
copyAce(Path src,
Path dest) |
This method copies ACEs on source to destination.
|
abstract FSDataOutputStream |
createFid(java.lang.String pfid,
java.lang.String file,
boolean overwrite) |
|
abstract PathId |
createPathId() |
create PathId: A Factory method to create PathIds.
|
abstract void |
deleteAces(Path path,
boolean recursive) |
This method deletes all ACEs of a file or directory.
|
abstract void |
setAces(Path path,
java.lang.String strAces,
boolean isSet,
int noinherit,
int preservemodebits,
boolean recursive) |
This method fully replaces ACEs of a file or directory recursively,
discarding all existing ones.
|
access, append, append, append, append, append, appendFile, areSymlinksEnabled, cancelDeleteOnExit, canonicalizeUri, checkPath, clearStatistics, close, closeAll, closeAllForUGI, completeLocalOutput, concat, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyFromLocalFile, copyToLocalFile, copyToLocalFile, copyToLocalFile, create, create, create, create, create, create, create, create, create, create, create, create, create, createBulkDelete, createDataInputStreamBuilder, createDataInputStreamBuilder, createDataOutputStreamBuilder, createFid, createFile, createMultipartUploader, createNewFile, createNonRecursive, createNonRecursive, createNonRecursive, createPathHandle, createSnapshot, createSnapshot, createSymlink, delete, delete, deleteFid, deleteOnExit, deleteSnapshot, enableSymlinks, exists, fixRelativePart, get, get, get, getAclStatus, getAdditionalTokenIssuers, getAllStatistics, getAllStoragePolicies, getBlockSize, getCanonicalServiceName, getCanonicalUri, getChildFileSystems, getContentSummary, getDefaultBlockSize, getDefaultBlockSize, getDefaultPort, getDefaultReplication, getDefaultReplication, getDefaultUri, getDelegationToken, getEnclosingRoot, getFileBlockLocations, getFileBlockLocations, getFileChecksum, getFileChecksum, getFileLinkStatus, getFileStatus, getFileSystemClass, getFSofPath, getGlobalStorageStatistics, getHomeDirectory, getInitialWorkingDirectory, getJobTrackerAddrs, getLength, getLinkTarget, getLocal, getName, getNamed, getPathHandle, getQuotaUsage, getReplication, getScheme, getServerDefaults, getServerDefaults, getStatistics, getStatistics, getStatus, getStatus, getStoragePolicy, getStorageStatistics, getTrashRoot, getTrashRoots, getUri, getUsed, getUsed, getWorkingDirectory, getXAttr, getXAttrs, getXAttrs, getZkConnectString, globStatus, globStatus, hasPathCapability, initialize, isDirectory, isFile, listCorruptFileBlocks, listFiles, listLocatedStatus, listLocatedStatus, listStatus, listStatus, listStatus, listStatus, listStatusBatch, listStatusIterator, listXAttrs, makeQualified, mkdirs, mkdirs, mkdirs, mkdirsFid, mkdirsFid, modifyAclEntries, moveFromLocalFile, moveFromLocalFile, moveToLocalFile, msync, newInstance, newInstance, newInstance, newInstanceLocal, open, open, open, open, openFid, openFid, openFid2, openFile, openFile, openFileWithOptions, openFileWithOptions, primitiveCreate, primitiveMkdir, primitiveMkdir, printStatistics, processDeleteOnExit, removeAcl, removeAclEntries, removeDefaultAcl, removeXAttr, rename, rename, renameSnapshot, resolveLink, resolvePath, satisfyStoragePolicy, setAcl, setDefaultUri, setDefaultUri, setOwner, setOwnerFid, setPermission, setQuota, setQuotaByStorageType, setReplication, setStoragePolicy, setTimes, setVerifyChecksum, setWorkingDirectory, setWriteChecksum, setXAttr, setXAttr, startLocalOutput, supportsSymlinks, truncate, unsetStoragePolicygetConf, setConfclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDelegationTokenspublic abstract PathId createPathId()
FileSystemcreatePathId in class FileSystempublic abstract FSDataOutputStream createFid(java.lang.String pfid, java.lang.String file, boolean overwrite) throws java.io.IOException
public abstract int copyAce(Path src, Path dest) throws java.io.IOException
src - path of sourcedest - path of destinationjava.io.IOException - if an ACE could not be read/modifiedpublic abstract void setAces(Path path, java.lang.String strAces, boolean isSet, int noinherit, int preservemodebits, boolean recursive) throws java.io.IOException
path - path to set ACEsstrAces - string of file ACEs in short formatisSet - fully replace or stay existing ACEnoinherit - do not inherit aces instead use umaskpreservemodebits - to not overwrite mode bitsrecursive - whether to apply ACE recursively true/falsejava.io.IOException - if an ACE could not be replacedpublic abstract void deleteAces(Path path, boolean recursive) throws java.io.IOException
path - path to delete ACEsjava.io.IOException - if an ACEs could not be modifiedCopyright © 2008–2025 Apache Software Foundation. All rights reserved.