public class FSHDFSUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| 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)
Recover the lease from HDFS, retrying multiple times.
|
public static void recoverFileLease(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path p,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.