com.cloudera.api.v8
Interface ClustersResourceV8

All Superinterfaces:
ClustersResource, ClustersResourceV2, ClustersResourceV3, ClustersResourceV4, ClustersResourceV5, ClustersResourceV6, ClustersResourceV7
All Known Subinterfaces:
ClustersResourceV10, ClustersResourceV11, ClustersResourceV12, ClustersResourceV13, ClustersResourceV14, ClustersResourceV15, ClustersResourceV16, ClustersResourceV17, ClustersResourceV18, ClustersResourceV9

public interface ClustersResourceV8
extends ClustersResourceV7


Method Summary
 ServicesResourceV8 getServicesResource(String clusterName)
           
 ApiCommand inspectHostsCommand(String clusterName)
          Runs the host inspector on the configured hosts in the specified cluster.
 
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, upgradeCdhCommand
 
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")
ServicesResourceV8 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
Returns:
The services resource handler.

inspectHostsCommand

@Path(value="/{clusterName}/commands/inspectHosts")
ApiCommand inspectHostsCommand(String clusterName)
Runs the host inspector on the configured hosts in the specified cluster. Available since V8.

Parameters:
clusterName - The name of the cluster
Returns:
Information about the submitted command.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.