@InterfaceAudience.Private @InterfaceStability.Evolving public class FSHDFSUtils extends FSUtils
FSUtils.BlackListDirFilter, FSUtils.DirFilter, FSUtils.FamilyDirFilter, FSUtils.HFileFilter, FSUtils.RegionDirFilter, FSUtils.UserTableDirFilterFULL_RWX_PERMISSIONS, WINDOWS| Constructor and Description |
|---|
FSHDFSUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isSameHdfs(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem srcFs,
org.apache.hadoop.fs.FileSystem desFs) |
void |
recoverFileLease(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.conf.Configuration conf,
CancelableProgressable reporter)
Recover the lease from HDFS, retrying multiple times.
|
checkAccess, checkClusterIdExists, checkDfsSafeMode, checkFileSystemAvailable, checkShortCircuitReadBufferSize, checkVersion, checkVersion, computeHDFSBlocksDistribution, create, create, delete, deleteDirectory, getClusterId, getCurrentFileSystem, getDefaultBlockSize, getDefaultBufferSize, getDefaultReplication, getFamilyDirs, getFileDefault, getFilePermissions, getInstance, getLocalTableDirs, getNamespaceDir, getPath, getRegionDegreeLocalityMappingFromFS, getRegionDegreeLocalityMappingFromFS, getRegionDirs, getRootDir, getTableDir, getTableDirs, getTableFragmentation, getTableFragmentation, getTableName, getTableStoreFilePathMap, getTableStoreFilePathMap, getTotalTableFragmentation, getVersion, isAppendSupported, isExists, isHDFS, isMajorCompacted, isMatchingTail, isMatchingTail, isRecoveredEdits, isStartingWithPath, listStatus, listStatus, logFileSystemState, metaRegionExists, removeRootPath, renameAndSetModifyTime, setClusterId, setFsDefault, setRootDir, setupShortCircuitRead, setVersion, setVersion, setVersion, validateRootPath, waitOnSafeModepublic static boolean isSameHdfs(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem srcFs,
org.apache.hadoop.fs.FileSystem desFs)
conf - the Configuration of HBasesrcFs - desFs - 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
recoverFileLease in class FSUtilsfs - FileSystem handlep - Path of file to recover leaseconf - Configuration handleIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.