public interface ClustersResourceV18 extends ClustersResourceV17
| Modifier and Type | Method and Description |
|---|---|
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.
|
getKerberosInfoexport, listDfsServicesconfigureForKerberosrollingUpgradeupgradeCdhCommandinspectHostsCommanddeployClusterClientConfig, firstRun, getClientConfigautoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateClustergetParcelsResourcerollingRestartaddHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHostdeployClientConfig, enterMaintenanceMode, exitMaintenanceModecreateClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand@Path(value="/{clusterName}/services")
ServicesResourceV18 getServicesResource(String clusterName)
getServicesResource in interface ClustersResourcegetServicesResource in interface ClustersResourceV10getServicesResource in interface ClustersResourceV11getServicesResource in interface ClustersResourceV13getServicesResource in interface ClustersResourceV14getServicesResource in interface ClustersResourceV15getServicesResource in interface ClustersResourceV16getServicesResource in interface ClustersResourceV17getServicesResource in interface ClustersResourceV2getServicesResource in interface ClustersResourceV3getServicesResource in interface ClustersResourceV4getServicesResource in interface ClustersResourceV6getServicesResource in interface ClustersResourceV7getServicesResource in interface ClustersResourceV8@Path(value="/{clusterName}/utilization")
ApiClusterUtilization getUtilizationReport(String clusterName,
String from,
String to,
String tenantType,
List<String> daysOfWeek,
int startHourOfDay,
int endHourOfDay)
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.@Path(value="/{clusterName}/commands/deleteCredentials")
ApiCommand deleteClusterCredentialsCommand(String clusterName)
This command will affect all services that have been configured to use Kerberos, and have existing credentials.
clusterName - cluster nameCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.