@Beta public class ConfigureServicesCommand extends RoleLifecycleCommand
factory, parser, stateStoreFactory| Constructor and Description |
|---|
ConfigureServicesCommand() |
ConfigureServicesCommand(ClusterControllerFactory factory) |
ConfigureServicesCommand(ClusterControllerFactory factory,
ClusterStateStoreFactory stateStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
int |
runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet)
Implement this method to trigger the relevant role lifecycle action
|
getTargetInstanceIdsOrEmpty, getTargetRolesOrEmpty, printUsage, runcreateClusterController, createClusterStateStore, getCluster, getClusterSpec, printErrorAndHelpHint, printProviderInfogetDescription, getNamepublic ConfigureServicesCommand()
throws IOException
IOExceptionpublic ConfigureServicesCommand(ClusterControllerFactory factory)
public ConfigureServicesCommand(ClusterControllerFactory factory, ClusterStateStoreFactory stateStoreFactory)
public int runLifecycleStep(ClusterSpec clusterSpec, ClusterController controller, joptsimple.OptionSet optionSet) throws IOException, InterruptedException
RoleLifecycleCommandrunLifecycleStep in class RoleLifecycleCommandIOExceptionInterruptedExceptionCopyright © 2010–2016 Cloudera. All rights reserved.