public class FSHDFSUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
FSHDFSUtils.CallerInfo |
Modifier and Type | Field and Description |
---|---|
static AtomicLong |
RECOVER_LEASE_SUCCESS_COUNT |
Constructor and Description |
---|
FSHDFSUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
recoverFileLease(FileSystem fs,
Path p,
Configuration conf,
FSHDFSUtils.CallerInfo callerInfo)
Recover the lease from HDFS, retrying multiple times.
|
public static AtomicLong RECOVER_LEASE_SUCCESS_COUNT
public FSHDFSUtils()
public static void recoverFileLease(FileSystem fs, Path p, Configuration conf, FSHDFSUtils.CallerInfo callerInfo) throws IOException
IOException