@InterfaceAudience.Private public class ZkAclReset extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.util.Tool
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
ZkAclReset() |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
private void |
printUsageAndExit() |
private static void |
resetAcls(org.apache.hadoop.conf.Configuration conf,
boolean eraseAcls) |
private static void |
resetAcls(ZooKeeperWatcher zkw,
String znode,
boolean eraseAcls) |
int |
run(String[] args) |
private static void resetAcls(ZooKeeperWatcher zkw, String znode, boolean eraseAcls) throws Exception
Exception
private static void resetAcls(org.apache.hadoop.conf.Configuration conf, boolean eraseAcls) throws Exception
Exception
private void printUsageAndExit()
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.