ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14905) Add API directive to force toggling Kerberos if the cluster's security type has not changed
Date Fri, 05 Feb 2016 02:14:39 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-14905?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15133517#comment-15133517
] 

Hudson commented on AMBARI-14905:
---------------------------------

ABORTED: Integrated in Ambari-branch-2.2 #292 (See [https://builds.apache.org/job/Ambari-branch-2.2/292/])
AMBARI-14905. Add API directive to force toggling Kerberos if the (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=feca33de8217b61e0c4d7a77dbfb1955ca971edb])
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariManagementControllerImplTest.java
* ambari-server/src/main/java/org/apache/ambari/server/api/resources/ClusterResourceDefinition.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java


> Add API directive to force toggling Kerberos if the cluster's security type has not changed
> -------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14905
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14905
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>              Labels: kerberos, rest_api
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-14905_branch-2.2_01.patch, AMBARI-14905_branch-2.2_02.patch,
AMBARI-14905_branch-2.2_03.patch, AMBARI-14905_trunk_01.patch, AMBARI-14905_trunk_02.patch,
AMBARI-14905_trunk_03.patch
>
>
> Add an API directive to force toggling Kerberos if the cluster's security type has not
changed.  
> This is useful for _retry_ attempts to enable or disable Kerberos when the workflow progressed
far enough to store the _new_ security type.  
> Trying to enable Kerberos when the cluster's security type is already set to {{KERBEROS}}
will result in a successful response from the Ambari server but no actions will be performed.
 Same for attempting to disable Kerberos when the cluster's security type is already set to
{{NONE}}.  
> By forcing the operation using the {{force_toggle_kerberos=true}} directive, the security
type check is avoided, thus allowing the _retry_ operation to proceed. 
> Example: 
> {code}
> PUT /api/v1/clusters/CLUSTER_NAME?force_toggle_kerberos=true
> {
>   "Clusters" : {
>     "security_type" : "KERBEROS"
>     }
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message