| Package | Description |
|---|---|
| org.apache.whirr |
The Whirr client API.
|
| org.apache.whirr.cli.command | |
| org.apache.whirr.command |
| Modifier and Type | Class and Description |
|---|---|
class |
ByonClusterController
Equivalent of
ClusterController, but for execution in BYON mode
("bring your own nodes"). |
| Modifier and Type | Method and Description |
|---|---|
ClusterController |
DynamicClusterControllerFactory.create(String serviceName)
Create an instance of a
ClusterController according to the given
name. |
ClusterController |
ClusterControllerFactory.create(String serviceName)
Create an instance of a
ClusterController according to the given
name. |
| Modifier and Type | Method and Description |
|---|---|
void |
DynamicClusterControllerFactory.bind(ClusterController clusterController) |
void |
DynamicClusterControllerFactory.unbind(ClusterController clusterController) |
| Modifier and Type | Method and Description |
|---|---|
int |
RestartServicesCommand.runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet) |
int |
StartServicesCommand.runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet) |
int |
StopServicesCommand.runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet) |
int |
ConfigureServicesCommand.runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet) |
abstract int |
RoleLifecycleCommand.runLifecycleStep(ClusterSpec clusterSpec,
ClusterController controller,
joptsimple.OptionSet optionSet)
Implement this method to trigger the relevant role lifecycle action
|
| Modifier and Type | Method and Description |
|---|---|
protected ClusterController |
AbstractClusterCommand.createClusterController(String serviceName)
Create the specified service
|
| Modifier and Type | Method and Description |
|---|---|
protected Cluster |
AbstractClusterCommand.getCluster(ClusterSpec clusterSpec,
ClusterController controller)
Get the cluster instance together with NodeMetadata (through API calls)
|
Copyright © 2010–2016 Cloudera. All rights reserved.