com.cloudera.api.v18
Interface ClustersResourceV18

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

public interface ClustersResourceV18
extends ClustersResourceV17


Method Summary
 ApiCommand deleteClusterCredentialsCommand(String clusterName)
          Delete existing Kerberos credentials for the cluster.
 ServicesResourceV18 getServicesResource(String clusterName)
           
 ApiClusterUtilization getUtilizationReport(String clusterName, String from, String to, String tenantType, List<String> daysOfWeek, int startHourOfDay, int endHourOfDay)
          Provides the resource utilization of the entire cluster as well as the resource utilization per tenant.
 
Methods inherited from interface com.cloudera.api.v17.ClustersResourceV17
getKerberosInfo
 
Methods inherited from interface com.cloudera.api.v12.ClustersResourceV12
export, listDfsServices
 
Methods inherited from interface com.cloudera.api.v11.ClustersResourceV11
configureForKerberos
 
Methods inherited from interface com.cloudera.api.v10.ClustersResourceV10
rollingUpgrade
 
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")
ServicesResourceV18 getServicesResource(String clusterName)
Specified by:
getServicesResource in interface ClustersResource
Specified by:
getServicesResource in interface ClustersResourceV10
Specified by:
getServicesResource in interface ClustersResourceV11
Specified by:
getServicesResource in interface ClustersResourceV13
Specified by:
getServicesResource in interface ClustersResourceV14
Specified by:
getServicesResource in interface ClustersResourceV15
Specified by:
getServicesResource in interface ClustersResourceV16
Specified by:
getServicesResource in interface ClustersResourceV17
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.

getUtilizationReport

@Path(value="/{clusterName}/utilization")
ApiClusterUtilization getUtilizationReport(String clusterName,
                                                String from,
                                                String to,
                                                String tenantType,
                                                List<String> daysOfWeek,
                                                int startHourOfDay,
                                                int endHourOfDay)
Provides the resource utilization of the entire cluster as well as the resource utilization per tenant. Only available with Cloudera Manager Enterprise Edition.

Parameters:
clusterName - cluster name
from - Start of the time range to report utilization in ISO 8601 format.
to - End of the the time range to report utilization in ISO 8601 format (defaults to now).
tenantType - The type of the tenant (POOL or USER).
daysOfWeek - The days of the week for which the user wants to report utilization. Days is a list of number between 1 to 7, where 1 corresponds to Monday, and 7 corrensponds to Sunday. All 7 days are included if this is not specified.
startHourOfDay - The start hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 0 if this is not specified.
endHourOfDay - The end hour of a day for which the user wants to report utilization. The hour is a number between [0-23]. Default value is 23 if this is not specified.
Returns:
Cluster utilization report resource handler.

deleteClusterCredentialsCommand

@Path(value="/{clusterName}/commands/deleteCredentials")
ApiCommand deleteClusterCredentialsCommand(String clusterName)
Delete existing Kerberos credentials for the cluster.

This command will affect all services that have been configured to use Kerberos, and have existing credentials.

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


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