|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ClustersResourceV2
| Method Summary | |
|---|---|
ApiCommand |
deployClientConfig(String clusterName)
Deploy the cluster-wide client configuration. |
ApiCommand |
enterMaintenanceMode(String clusterName)
Put the cluster into maintenance mode. |
ApiCommand |
exitMaintenanceMode(String clusterName)
Take the cluster out of maintenance mode. |
ServicesResourceV2 |
getServicesResource(String clusterName)
|
ApiCluster |
updateCluster(String clusterName,
ApiCluster cluster)
Update an existing cluster. |
| Methods inherited from interface com.cloudera.api.v1.ClustersResource |
|---|
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand |
| Method Detail |
|---|
@Path(value="/{clusterName}/services")
ServicesResourceV2 getServicesResource(String clusterName)
getServicesResource in interface ClustersResource
@Path(value="/{clusterName}")
ApiCluster updateCluster(String clusterName,
ApiCluster cluster)
Update an existing cluster.
You may not change a cluster's CDH version using this API call. Use the "upgradeService" cluster command instead.
To rename the cluster, pass in a json structure that has the new cluster name.
Available since API v2.
clusterName - The name of the cluster.
@Path(value="/{clusterName}/commands/enterMaintenanceMode")
ApiCommand enterMaintenanceMode(String clusterName)
Available since API v2.
clusterName - The name of the cluster
@Path(value="/{clusterName}/commands/exitMaintenanceMode")
ApiCommand exitMaintenanceMode(String clusterName)
Available since API v2.
clusterName - The name of the cluster
@Path(value="/{clusterName}/commands/deployClientConfig")
ApiCommand deployClientConfig(String clusterName)
For each service in the cluster, deploy the service's client configuration to all the hosts that the service runs on.
Available since API v2.
clusterName - The name of the cluster
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||