com.cloudera.api.v4
Interface ClustersResourceV4
- All Superinterfaces:
- ClustersResource, ClustersResourceV2, ClustersResourceV3
- All Known Subinterfaces:
- ClustersResourceV10, ClustersResourceV11, ClustersResourceV12, ClustersResourceV13, ClustersResourceV14, ClustersResourceV15, ClustersResourceV16, ClustersResourceV17, ClustersResourceV18, ClustersResourceV5, ClustersResourceV6, ClustersResourceV7, ClustersResourceV8, ClustersResourceV9
public interface ClustersResourceV4
- extends ClustersResourceV3
getServicesResource
@Path(value="/{clusterName}/services")
ServicesResourceV4 getServicesResource(String clusterName)
- Specified by:
getServicesResource
in interface ClustersResource
- Specified by:
getServicesResource
in interface ClustersResourceV2
- Specified by:
getServicesResource
in interface ClustersResourceV3
- Returns:
- The services resource handler.
rollingRestart
@Path(value="/{clusterName}/commands/rollingRestart")
ApiCommand rollingRestart(String clusterName,
ApiRollingRestartClusterArgs args)
- Command to do a "best-effort" rolling restart of the given cluster,
i.e. it does plain restart of services that cannot be rolling restarted,
followed by first rolling restarting 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 API v4. Only available with Cloudera Manager Enterprise
Edition.
- Parameters:
clusterName
- The name of the cluster.args
- Arguments for the rolling restart command.
- Returns:
- Information about the submitted command.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.