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


Method Summary
 ServicesResourceV10 getServicesResource(String clusterName)
           
 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.
 
Methods inherited from interface com.cloudera.api.v9.ClustersResourceV9
upgradeCdhCommand
 
Methods inherited from interface com.cloudera.api.v8.ClustersResourceV8
inspectHostsCommand
 
Methods inherited from interface com.cloudera.api.v7.ClustersResourceV7
deployClusterClientConfig, firstRun, getClientConfig
 
Methods inherited from interface com.cloudera.api.v6.ClustersResourceV6
autoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateCluster
 
Methods inherited from interface com.cloudera.api.v5.ClustersResourceV5
getParcelsResource
 
Methods inherited from interface com.cloudera.api.v4.ClustersResourceV4
rollingRestart
 
Methods inherited from interface com.cloudera.api.v3.ClustersResourceV3
addHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHost
 
Methods inherited from interface com.cloudera.api.v2.ClustersResourceV2
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode
 
Methods inherited from interface com.cloudera.api.v1.ClustersResource
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
 

Method Detail

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.