public final class HdfsActionUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
HDFS_USER_CONF_KEY
Specify a user as whom HDFS actions should be run.
|
Modifier | Constructor and Description |
---|---|
private |
HdfsActionUtils() |
Modifier and Type | Method and Description |
---|---|
(package private) static org.apache.hadoop.hdfs.DistributedFileSystem |
createDfs(org.apache.hadoop.conf.Configuration conf)
Create an instance of
DistributedFileSystem that honors "org.apache.hadoop.hbase.chaos.actions.hdfs_user". |
private static org.apache.hadoop.hdfs.DistributedFileSystem |
createUnproxiedDfs(org.apache.hadoop.conf.Configuration conf) |
public static final String HDFS_USER_CONF_KEY
private HdfsActionUtils()
private static org.apache.hadoop.hdfs.DistributedFileSystem createUnproxiedDfs(org.apache.hadoop.conf.Configuration conf) throws IOException
IOException
static org.apache.hadoop.hdfs.DistributedFileSystem createDfs(org.apache.hadoop.conf.Configuration conf) throws IOException
DistributedFileSystem
that honors "org.apache.hadoop.hbase.chaos.actions.hdfs_user".IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.