public class HdfsUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
HdfsUtils.HadoopFileStatus |
Constructor and Description |
---|
HdfsUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.fs.Path |
getFileIdPath(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
long fileId) |
static void |
setFullFileStatus(org.apache.hadoop.conf.Configuration conf,
HdfsUtils.HadoopFileStatus sourceStatus,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path target,
boolean recursion) |
static void |
setFullFileStatus(org.apache.hadoop.conf.Configuration conf,
HdfsUtils.HadoopFileStatus sourceStatus,
String targetGroup,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path target,
boolean recursion) |
public static org.apache.hadoop.fs.Path getFileIdPath(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, long fileId)
public static void setFullFileStatus(org.apache.hadoop.conf.Configuration conf, HdfsUtils.HadoopFileStatus sourceStatus, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path target, boolean recursion) throws IOException
IOException
public static void setFullFileStatus(org.apache.hadoop.conf.Configuration conf, HdfsUtils.HadoopFileStatus sourceStatus, String targetGroup, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path target, boolean recursion) throws IOException
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.