@InterfaceAudience.Private
public class DumpReplicationQueues
extends org.apache.hadoop.conf.Configured
implements org.apache.hadoop.util.Tool
Constructor and Description |
---|
DumpReplicationQueues() |
Modifier and Type | Method and Description |
---|---|
String |
dumpPeersState(List<ReplicationPeerDescription> peers) |
String |
dumpQueues(ZKWatcher zkw,
Set<String> peerIds,
boolean hdfs) |
String |
dumpReplicationSummary() |
static void |
main(String[] args)
Main
|
protected void |
printUsage() |
protected static void |
printUsage(String message) |
protected static void |
printUsage(String className,
String message) |
protected static void |
printUsageAndExit(String message,
int exitCode) |
int |
run(String[] args) |
public static void main(String[] args) throws Exception
args
- Exception
public int run(String[] args) throws Exception
run
in interface org.apache.hadoop.util.Tool
Exception
protected void printUsage()
protected static void printUsage(String message)
protected static void printUsageAndExit(String message, int exitCode)
public String dumpReplicationSummary()
public String dumpPeersState(List<ReplicationPeerDescription> peers) throws Exception
Exception
Copyright © 2007–2019 Cloudera. All rights reserved.