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
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 namefrom - 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.