public class HdfsUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
static int |
NN_SAFEMODE_RETRY_TIME |
static int |
NN_SAFEMODE_TIMEOUT |
| Constructor and Description |
|---|
HdfsUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addHdfsResources(org.apache.hadoop.conf.Configuration conf,
String confDir) |
static void |
mkDirIfNeededAndWaitForSafeMode(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path hdfsDirPath) |
public static org.slf4j.Logger LOG
public static final int NN_SAFEMODE_RETRY_TIME
public static final int NN_SAFEMODE_TIMEOUT
public static void addHdfsResources(org.apache.hadoop.conf.Configuration conf,
String confDir)
public static void mkDirIfNeededAndWaitForSafeMode(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path hdfsDirPath)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.