public interface ClustersResourceV4 extends ClustersResourceV3
Modifier and Type | Method and Description |
---|---|
ServicesResourceV4 |
getServicesResource(String clusterName) |
ApiCommand |
rollingRestart(String clusterName,
ApiRollingRestartClusterArgs args)
Command to do a "best-effort" rolling restart of the given cluster,
i.e.
|
addHosts, getHostTemplatesResource, getParcelsResource, listHosts, removeAllHosts, removeHost
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode, updateCluster
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
@Path(value="/{clusterName}/services") ServicesResourceV4 getServicesResource(String clusterName)
getServicesResource
in interface ClustersResource
getServicesResource
in interface ClustersResourceV2
getServicesResource
in interface ClustersResourceV3
@Path(value="/{clusterName}/commands/rollingRestart") ApiCommand rollingRestart(String clusterName, ApiRollingRestartClusterArgs args)
Available since API v4. Only available with Cloudera Manager Enterprise Edition.
clusterName
- The name of the cluster.args
- Arguments for the rolling restart command.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.