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.
|
getKerberosInfo
export, listDfsServices
configureForKerberos
rollingUpgrade
upgradeCdhCommand
inspectHostsCommand
deployClusterClientConfig, firstRun, getClientConfig
autoAssignRoles, autoConfigure, listServiceTypes, poolsRefresh, refresh, restartCommand, updateCluster
getParcelsResource
rollingRestart
addHosts, getHostTemplatesResource, listHosts, removeAllHosts, removeHost
deployClientConfig, enterMaintenanceMode, exitMaintenanceMode
createClusters, deleteCluster, listActiveCommands, readCluster, readClusters, restartCommand, startCommand, stopCommand, upgradeServicesCommand
@Path(value="/{clusterName}/services") ServicesResourceV18 getServicesResource(String clusterName)
getServicesResource
in interface ClustersResource
getServicesResource
in interface ClustersResourceV10
getServicesResource
in interface ClustersResourceV11
getServicesResource
in interface ClustersResourceV13
getServicesResource
in interface ClustersResourceV14
getServicesResource
in interface ClustersResourceV15
getServicesResource
in interface ClustersResourceV16
getServicesResource
in interface ClustersResourceV17
getServicesResource
in interface ClustersResourceV2
getServicesResource
in interface ClustersResourceV3
getServicesResource
in interface ClustersResourceV4
getServicesResource
in interface ClustersResourceV6
getServicesResource
in interface ClustersResourceV7
getServicesResource
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.