java.io.Closeable, java.lang.AutoCloseable, org.apache.hadoop.conf.Configurablepublic class PlanCommand extends Command
Plan command reads the Cluster Info and creates a plan for specified data node or a set of Data nodes.
It writes the output to a default location unless changed by the user.
| Constructor | Description |
|---|---|
PlanCommand(org.apache.hadoop.conf.Configuration conf) |
Constructs a plan command.
|
PlanCommand(org.apache.hadoop.conf.Configuration conf,
java.io.PrintStream ps) |
Constructs a plan command.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
execute(org.apache.commons.cli.CommandLine cmd) |
Runs the plan command.
|
void |
printHelp() |
Gets extended help for this command.
|
addValidCommandParameters, close, create, getClusterURI, getDataNodeProxy, getDefaultTop, getNodeList, getNodes, getOutputPath, getTopNodes, open, parseTopNodes, populatePathNames, readClusterInfo, recordOutput, setCluster, setClusterURI, setNodesToProcess, setNodesToProcess, setOutputPath, setTopNodes, verifyCommandOptionspublic PlanCommand(org.apache.hadoop.conf.Configuration conf)
public PlanCommand(org.apache.hadoop.conf.Configuration conf,
java.io.PrintStream ps)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.