com.cloudera.api.v10
Interface ClustersResourceV10
- All Superinterfaces:
- ClustersResource, ClustersResourceV2, ClustersResourceV3, ClustersResourceV4, ClustersResourceV5, ClustersResourceV6, ClustersResourceV7, ClustersResourceV8, ClustersResourceV9
- All Known Subinterfaces:
- ClustersResourceV11, ClustersResourceV12, ClustersResourceV13, ClustersResourceV14, ClustersResourceV15, ClustersResourceV16, ClustersResourceV17, ClustersResourceV18
public interface ClustersResourceV10
- extends ClustersResourceV9
getServicesResource
@Path(value="/{clusterName}/services")
ServicesResourceV10 getServicesResource(String clusterName)
- Specified by:
getServicesResource
in interface ClustersResource
- Specified by:
getServicesResource
in interface ClustersResourceV2
- Specified by:
getServicesResource
in interface ClustersResourceV3
- Specified by:
getServicesResource
in interface ClustersResourceV4
- Specified by:
getServicesResource
in interface ClustersResourceV6
- Specified by:
getServicesResource
in interface ClustersResourceV7
- Specified by:
getServicesResource
in interface ClustersResourceV8
- Returns:
- The services resource handler.
rollingUpgrade
@Path(value="/{clusterName}/commands/rollingUpgrade")
ApiCommand rollingUpgrade(String clusterName,
ApiRollingUpgradeServicesArgs args)
- Command to do a rolling upgrade of specific services in the given cluster
This command does not handle any services that don't support rolling
upgrades. The command will throw an error and not start if upgrade of any
such service is requested.
This command does not upgrade the full CDH Cluster. You should normally
use the upgradeCDH Command for upgrading the cluster. This is primarily
helpful if you need to need to recover from an upgrade failure or for
advanced users to script an alternative to the upgradeCdhCommand.
This command expects the binaries to be available on hosts and activated.
It does not change any binaries on the hosts.
- Parameters:
clusterName
- The name of the cluster.args
- Arguments for the rolling upgrade command.
- Returns:
- Information about the submitted command.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.