@InterfaceAudience.Private public class FSMapRUtils extends FSUtils
FSUtils.BlackListDirFilter, FSUtils.DirFilter, FSUtils.FamilyDirFilter, FSUtils.HFileFilter, FSUtils.HFileLinkFilter, FSUtils.ReferenceFileFilter, FSUtils.RegionDirFilter, FSUtils.UserTableDirFilter
CommonFSUtils.StreamLacksCapabilityException
FULL_RWX_PERMISSIONS, HBASE_WAL_DIR, UNSAFE_STREAM_CAPABILITY_ENFORCE
Constructor and Description |
---|
FSMapRUtils() |
Modifier and Type | Method and Description |
---|---|
void |
recoverFileLease(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.conf.Configuration conf,
CancelableProgressable reporter)
Recover file lease.
|
addToHDFSBlocksDistribution, checkAccess, checkClusterIdExists, checkDfsSafeMode, checkFileSystemAvailable, checkShortCircuitReadBufferSize, checkVersion, checkVersion, computeHDFSBlocksDistribution, create, deleteRegionDir, filterFileStatuses, filterFileStatuses, getClusterId, getDFSHedgedReadMetrics, getFamilyDirs, getInstance, getLocalTableDirs, getReferenceFilePaths, getRegionDegreeLocalityMappingFromFS, getRegionDegreeLocalityMappingFromFS, getRegionDirs, getRegionReferenceFileCount, getTableDirs, getTableFragmentation, getTableFragmentation, getTableStoreFilePathMap, getTableStoreFilePathMap, getTableStoreFilePathMap, getTableStoreFilePathMap, getTotalTableFragmentation, getVersion, isDistributedFileSystem, isMatchingTail, listStatusWithStatusFilter, metaRegionExists, setClusterId, setupShortCircuitRead, setVersion, setVersion, setVersion, waitOnSafeMode
create, delete, deleteDirectory, getCurrentFileSystem, getDefaultBlockSize, getDefaultBufferSize, getDefaultReplication, getFilePermissions, getNamespaceDir, getPath, getRootDir, getRootDirFileSystem, getTableDir, getTableName, getWALFileSystem, getWALRootDir, hasCapability, isExists, isHDFS, isMatchingTail, isRecoveredEdits, isStartingWithPath, listLocatedStatus, listStatus, listStatus, logFileSystemState, removeWALRootPath, renameAndSetModifyTime, setFsDefault, setRootDir, setStoragePolicy, setStoragePolicy, setWALRootDir, validateRootPath
public FSMapRUtils()
public void recoverFileLease(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path p, org.apache.hadoop.conf.Configuration conf, CancelableProgressable reporter) throws IOException
FSUtils
recoverFileLease
in class FSUtils
fs
- FileSystem handlep
- Path of file to recover leaseconf
- Configuration handleIOException
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.