Class ReportCommand
java.lang.Object
org.apache.hadoop.conf.Configured
org.apache.hadoop.hdfs.server.diskbalancer.command.Command
org.apache.hadoop.hdfs.server.diskbalancer.command.ReportCommand
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.hadoop.conf.Configurable
Executes the report command.
This command will report volume information for a specific DataNode or top X
DataNode(s) benefiting from running DiskBalancer.
This is done by reading the cluster info, sorting the DiskbalancerNodes by
their NodeDataDensity and printing out the info.
-
Constructor Summary
ConstructorsConstructorDescriptionReportCommand(org.apache.hadoop.conf.Configuration conf) ReportCommand(org.apache.hadoop.conf.Configuration conf, PrintStream ps) -
Method Summary
Methods inherited from class org.apache.hadoop.hdfs.server.diskbalancer.command.Command
addValidCommandParameters, close, create, getClusterURI, getDataNodeProxy, getDefaultTop, getNodeList, getNodes, getOutputPath, getTopNodes, open, parseTopNodes, populatePathNames, readClusterInfo, recordOutput, setCluster, setClusterURI, setNodesToProcess, setNodesToProcess, setOutputPath, setTopNodes, verifyCommandOptionsMethods inherited from class org.apache.hadoop.conf.Configured
getConf, setConf
-
Constructor Details
-
ReportCommand
public ReportCommand(org.apache.hadoop.conf.Configuration conf) -
ReportCommand
-
-
Method Details