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
ServicesResourceV4 getServicesResource(String clusterName)
getServicesResource
in interface ClustersResource
getServicesResource
in interface ClustersResourceV2
getServicesResource
in interface ClustersResourceV3
ApiCommand rollingRestart(String clusterName, ApiRollingRestartClusterArgs args)
Available since API v4.
clusterName
- The name of the cluster.args
- Arguments for the rolling restart command.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.