com.cloudera.api.v7
Interface ClouderaManagerResourceV7
- All Superinterfaces:
- ClouderaManagerResource, ClouderaManagerResourceV2, ClouderaManagerResourceV3, ClouderaManagerResourceV6
- All Known Subinterfaces:
- ClouderaManagerResourceV11, ClouderaManagerResourceV12, ClouderaManagerResourceV14, ClouderaManagerResourceV15, ClouderaManagerResourceV16, ClouderaManagerResourceV17, ClouderaManagerResourceV18, ClouderaManagerResourceV8
public interface ClouderaManagerResourceV7
- extends ClouderaManagerResourceV6
importAdminCredentials
@Path(value="/commands/importAdminCredentials")
ApiCommand importAdminCredentials(String username,
String password)
- Imports the KDC Account Manager credentials needed by Cloudera
Manager to create kerberos principals needed by CDH services.
- Parameters:
username
- Username of the Account Manager. Full name including the Kerberos
realm must be specified.password
- Password for the Account Manager.
return Information about the submitted command.
importKerberosPrincipal
@Path(value="/commands/importKerberosPrincipal")
ApiCommand importKerberosPrincipal(String principal,
String password,
Long kvno)
- Imports the Kerberos credentials for the specified principal
which can then be used to add to a role's keytab by running
Generate Credentials command.
- Parameters:
principal
- Name of the principal. Full name including the Kerberos
realm must be specified. If it already exists, it will be overwritten.password
- Password for the Kerberos principal. Cloudera Manager
will encrypt the principal and password and use it when needed for a daemon.kvno
- Key-version number of the password.
return Information about the submitted command.
getKerberosPrincipals
@Path(value="/kerberosPrincipals")
ApiPrincipalList getKerberosPrincipals(boolean missingOnly)
- Returns the Kerberos principals needed by the services being managed
by Cloudera Manager.
- Parameters:
missingOnly
- Whether to include only those principals which do
not already exist in Cloudera Manager's database.
- Returns:
- List of kerberos principals.
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.