@InterfaceAudience.Private public class FSMapRUtils extends FSUtils
FSUtils.BlackListDirFilter, FSUtils.DirFilter, FSUtils.FamilyDirFilter, FSUtils.HFileFilter, FSUtils.HFileLinkFilter, FSUtils.ReferenceFileFilter, FSUtils.RegionDirFilter, FSUtils.UserTableDirFilter
FULL_RWX_PERMISSIONS, WINDOWS
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, create, delete, deleteDirectory, deleteRegionDir, filterFileStatuses, filterFileStatuses, getClusterId, getCurrentFileSystem, getDefaultBlockSize, getDefaultBufferSize, getDefaultReplication, getFamilyDirs, getFilePermissions, getInstance, getLocalTableDirs, getNamespaceDir, getPath, getReferenceFilePaths, getRegionDegreeLocalityMappingFromFS, getRegionDegreeLocalityMappingFromFS, getRegionDirFromRootDir, getRegionDirFromTableDir, getRegionDirs, getRegionReferenceFileCount, getRootDir, getRootDirFileSystem, getTableDir, getTableDirs, getTableFragmentation, getTableFragmentation, getTableName, getTableStoreFilePathMap, getTableStoreFilePathMap, getTableStoreFilePathMap, getTableStoreFilePathMap, getTotalTableFragmentation, getVersion, getWALFileSystem, getWALRegionDir, getWALRegionDir, getWALRootDir, getWALTableDir, getWrongWALRegionDir, isAppendSupported, isDistributedFileSystem, isExists, isHDFS, isMatchingTail, isMatchingTail, isRecoveredEdits, isStartingWithPath, listLocatedStatus, listStatus, listStatus, listStatusWithStatusFilter, logFileSystemState, metaRegionExists, removeWALRootPath, renameAndSetModifyTime, setClusterId, setFsDefault, setRootDir, setStoragePolicy, setupShortCircuitRead, setVersion, setVersion, setVersion, setWALRootDir, validateRootPath, waitOnSafeMode
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–2019 The Apache Software Foundation. All rights reserved.