@Beta public class CleanupClusterCommand extends AbstractClusterCommand
factory, parser, stateStoreFactory| Constructor and Description |
|---|
CleanupClusterCommand() |
CleanupClusterCommand(ClusterControllerFactory factory) |
CleanupClusterCommand(ClusterControllerFactory factory,
ClusterStateStoreFactory stateStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
printUsage(PrintStream stream)
Print a generic usage indication for commands
|
int |
run(InputStream in,
PrintStream out,
PrintStream err,
List<String> args) |
createClusterController, createClusterStateStore, getCluster, getClusterSpec, printErrorAndHelpHint, printProviderInfogetDescription, getNamepublic CleanupClusterCommand()
throws IOException
IOExceptionpublic CleanupClusterCommand(ClusterControllerFactory factory)
public CleanupClusterCommand(ClusterControllerFactory factory, ClusterStateStoreFactory stateStoreFactory)
public int run(InputStream in, PrintStream out, PrintStream err, List<String> args) throws Exception
public void printUsage(PrintStream stream) throws IOException
AbstractClusterCommandprintUsage in class AbstractClusterCommandIOExceptionCopyright © 2010–2016 Cloudera. All rights reserved.