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(org.apache.hadoop.fs.FileSystem fs,
                org.apache.hadoop.fs.Path p,
                org.apache.hadoop.conf.Configuration conf,
                FSHDFSUtils.CallerInfo callerInfo)Recover the lease from HDFS, retrying multiple times. | 
public static AtomicLong RECOVER_LEASE_SUCCESS_COUNT
public static void recoverFileLease(org.apache.hadoop.fs.FileSystem fs,
                                    org.apache.hadoop.fs.Path p,
                                    org.apache.hadoop.conf.Configuration conf,
                                    FSHDFSUtils.CallerInfo callerInfo)
                             throws IOException
IOExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.