|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClouderaManagerResourceV17
Method Summary | |
---|---|
ApiCommand |
deleteCredentialsCommand()
Delete existing Kerberos credentials. |
ApiKerberosInfo |
getKerberosInfo()
Provides Cloudera Manager Kerberos information |
ApiCommand |
hostsOfflineOrDecommissionCommand(ApiHostNameList hostNameList,
Long offlineTimeout)
Decommission the given hosts. |
Methods inherited from interface com.cloudera.api.v16.ClouderaManagerResourceV16 |
---|
refreshParcelRepos |
Methods inherited from interface com.cloudera.api.v15.ClouderaManagerResourceV15 |
---|
getShutdownReadiness, hostsRecommissionWithStartCommand, updateConfig |
Methods inherited from interface com.cloudera.api.v14.ClouderaManagerResourceV14 |
---|
getScmDbInfo |
Methods inherited from interface com.cloudera.api.v12.ClouderaManagerResourceV12 |
---|
importClusterTemplate |
Methods inherited from interface com.cloudera.api.v11.ClouderaManagerResourceV11 |
---|
getCmPeersResource |
Methods inherited from interface com.cloudera.api.v8.ClouderaManagerResourceV8 |
---|
getMgmtServiceResource |
Methods inherited from interface com.cloudera.api.v7.ClouderaManagerResourceV7 |
---|
getKerberosPrincipals, importAdminCredentials, importKerberosPrincipal |
Methods inherited from interface com.cloudera.api.v6.ClouderaManagerResourceV6 |
---|
beginTrial, endTrial, getLicensedFeatureUsage, hostInstallCommand |
Methods inherited from interface com.cloudera.api.v3.ClouderaManagerResourceV3 |
---|
getAllHostsResource |
Methods inherited from interface com.cloudera.api.v2.ClouderaManagerResourceV2 |
---|
getDeployment, hostsDecommissionCommand, hostsRecommissionCommand, hostsStartRolesCommand, updateDeployment |
Methods inherited from interface com.cloudera.api.v1.ClouderaManagerResource |
---|
collectDiagnosticDataCommand, generateCredentialsCommand, getConfig, getLog, getVersion, inspectHostsCommand, listActiveCommands, readLicense, updateConfig, updateLicense |
Method Detail |
---|
@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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |