@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
Exceptionprivate static void resetAcls(org.apache.hadoop.conf.Configuration conf, boolean eraseAcls) throws Exception
Exceptionprivate void printUsageAndExit()
public int run(String[] args) throws Exception
run in interface org.apache.hadoop.util.ToolExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.