com.cloudera.api.v18
Interface ClouderaManagerResourceV18

All Superinterfaces:
ClouderaManagerResource, ClouderaManagerResourceV11, ClouderaManagerResourceV12, ClouderaManagerResourceV14, ClouderaManagerResourceV15, ClouderaManagerResourceV16, ClouderaManagerResourceV17, ClouderaManagerResourceV2, ClouderaManagerResourceV3, ClouderaManagerResourceV6, ClouderaManagerResourceV7, ClouderaManagerResourceV8
All Known Subinterfaces:
ClouderaManagerResourceV19

public interface ClouderaManagerResourceV18
extends ClouderaManagerResourceV17


Method Summary
 ApiCommand deleteCredentialsCommand(String mode)
          Delete existing Kerberos credentials.
 MgmtServiceResourceV18 getMgmtServiceResource()
          Return the Cloudera Management Services resource.
 
Methods inherited from interface com.cloudera.api.v17.ClouderaManagerResourceV17
deleteCredentialsCommand, getKerberosInfo, hostsOfflineOrDecommissionCommand
 
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.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

getMgmtServiceResource

@Path(value="/service")
MgmtServiceResourceV18 getMgmtServiceResource()
Return the Cloudera Management Services resource.

Specified by:
getMgmtServiceResource in interface ClouderaManagerResource
Specified by:
getMgmtServiceResource in interface ClouderaManagerResourceV2
Specified by:
getMgmtServiceResource in interface ClouderaManagerResourceV3
Specified by:
getMgmtServiceResource in interface ClouderaManagerResourceV6
Specified by:
getMgmtServiceResource in interface ClouderaManagerResourceV8
Returns:
The Cloudera Management Services resource.

deleteCredentialsCommand

@Path(value="/commands/deleteCredentials")
ApiCommand deleteCredentialsCommand(String mode)
Delete existing Kerberos credentials.

This command will affect all services that have been configured to use Kerberos, and have existing credentials. In V18 this takes a new paramater to determine whether it needs to delete all credentials or just unused ones.

Parameters:
mode - this can be set to "all" or "unused"
Returns:
Information about the submitted command.


Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.