Details
-
Task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.0.0
Description
Use a cluster property rather than cluster-env/security_enabled to enable or disable Kerberos. Since cluster-env/security_enabled is used by services to determine if Kerberos is enabled or not, it should not be set before completing the process of enabling or disabling Kerberos. To declare whether the cluster enable or disable Kerberos, a property on the cluster should be set. The property should be called security_type and must have one of the following values:
- NONE
- KERBEROS
By using cluster-env/security_enabled, the configuration property gets set to "true" before Kerberos is filly enabled. This is causing issues with stopping services so that the updated Kerberos-related configurations can be set.
Example API call to enable Kerberos
{ "Clusters" : { "security_type" : "KERBEROS" } }
Example API call to disable Kerberos
{ "Clusters" : { "security_type" : "NONE" } }
Attachments
Attachments
Issue Links
- is depended upon by
-
AMBARI-9314 Change the API call to set the cluster property "security_type" instead of cluster-env/security_enabled for invoking kerberization
- Resolved
- links to