public interface ClouderaManagerResourceV17 extends ClouderaManagerResourceV16
| Modifier and Type | Method and Description |
|---|---|
ApiCommand |
deleteCredentialsCommand()
Delete existing Kerberos credentials.
|
ApiKerberosInfo |
getKerberosInfo()
Provides Cloudera Manager Kerberos information
|
ApiCommand |
hostsOfflineOrDecommissionCommand(ApiHostNameList hostNameList,
Long offlineTimeout)
Decommission the given hosts.
|
refreshParcelReposgetShutdownReadiness, hostsRecommissionWithStartCommand, updateConfiggetScmDbInfoimportClusterTemplategetCmPeersResourcegetMgmtServiceResourcegetKerberosPrincipals, importAdminCredentials, importKerberosPrincipalbeginTrial, endTrial, getLicensedFeatureUsage, hostInstallCommandgetAllHostsResourcegetDeployment, hostsDecommissionCommand, hostsRecommissionCommand, hostsStartRolesCommand, updateDeploymentcollectDiagnosticDataCommand, generateCredentialsCommand, getConfig, getLog, getVersion, inspectHostsCommand, listActiveCommands, readLicense, updateConfig, updateLicense@Path(value="kerberosInfo") ApiKerberosInfo getKerberosInfo()
@Path(value="/commands/deleteCredentials") ApiCommand deleteCredentialsCommand()
This command will affect all services that have been configured to use Kerberos, and have existing credentials.
@Path(value="/commands/hostsOfflineOrDecommission") ApiCommand hostsOfflineOrDecommissionCommand(ApiHostNameList hostNameList, Long offlineTimeout)
Currently the offline operation is only supported by HDFS, where the offline operation will put DataNodes into HDFS IN MAINTENANCE state which prevents unnecessary re-replication which could occur if decommissioned.
All other roles on the hosts will be stopped.
The offlineTimeout parameter is used to specify a timeout for offline. For HDFS, when the timeout expires, the DataNode will automatically transition out of HDFS IN MAINTENANCE state, back to HDFS IN SERVICE state.
hostNameList - list of host names to decommission.offlineTimeout - offline timeout in seconds. Specify as null to get the default timeout (4 hours).
Ignored if service does not support he offline operation.Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.