public interface ClustersResourceV9 extends ClustersResourceV8
Modifier and Type | Method and Description |
---|---|
ApiCommand |
upgradeCdhCommand(String clusterName,
ApiCdhUpgradeArgs args)
Perform CDH upgrade to the specified version.
|
getServicesResource, inspectHostsCommand
deployClusterClientConfig, firstRun, getClientConfig
autoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateCluster
getParcelsResource
rollingRestart
addHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHost
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
@Path(value="/{clusterName}/commands/upgradeCdh") ApiCommand upgradeCdhCommand(String clusterName, ApiCdhUpgradeArgs args)
Allows the following upgrades:
If using packages, CDH packages on all hosts of the cluster must be manually upgraded before this command is issued.
The command will upgrade the services and their configuration to the version available in the CDH5 distribution.
Unless rolling upgrade options are provided, the entire cluster will experience downtime. If rolling upgrade options are provided, command will do a "best-effort" rolling upgrade of the given cluster, i.e. it does plain upgrade of services that cannot be rolling upgraded, followed by first rolling upgrading non-slaves and then rolling restarting the slave roles of services that can be rolling restarted. The slave restarts are done host-by-host.
Available since v9. Rolling upgrade is only available with Cloudera Manager Enterprise Edition. A more limited upgrade variant available since v6.
upgradeCdhCommand
in interface ClustersResourceV6
clusterName
- The name of the cluster.args
- Arguments for the command. See ApiCdhUpgradeArgs
.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.