@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.slf4j.Logger |
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(ZKWatcher zkw,
String znode,
boolean eraseAcls) |
int |
run(String[] args) |
private static final org.slf4j.Logger LOG
public ZKAclReset()
private static void resetAcls(ZKWatcher 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.