public class HdfsUtils extends Object
Constructor and Description |
---|
HdfsUtils() |
Modifier and Type | Method and Description |
---|---|
static long |
createFileId(String pathStr,
org.apache.hadoop.fs.FileStatus fs,
boolean doLog,
String fsName) |
static Object |
getFileId(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
boolean allowSynthetic) |
static org.apache.hadoop.fs.Path |
getFileIdPath(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path path,
long fileId) |
public static Object getFileId(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, boolean allowSynthetic) throws IOException
IOException
public static long createFileId(String pathStr, org.apache.hadoop.fs.FileStatus fs, boolean doLog, String fsName)
public static org.apache.hadoop.fs.Path getFileIdPath(org.apache.hadoop.fs.FileSystem fileSystem, org.apache.hadoop.fs.Path path, long fileId)
Copyright © 2016 The Apache Software Foundation. All rights reserved.