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-14376) Create KerberosHelper method to create the headless Kerberos identities and keytab files (inline)
Date Wed, 16 Dec 2015 19:27:47 GMT

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

Hudson commented on AMBARI-14376:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4051 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4051/])
AMBARI-14376. Create KerberosHelper method to create the headless (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=fa9997205df9636e48bd315115d9504c9ee965aa])
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java
* ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerAction.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelper.java
* ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/CreatePrincipalsServerAction.java
* ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java


> Create KerberosHelper method to create the headless Kerberos identities and keytab files
(inline)
> -------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14376
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14376
>             Project: Ambari
>          Issue Type: Task
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>             Fix For: 2.4.0
>
>         Attachments: AMBARI-14376_trunk_01.patch
>
>
> Create a KerberosHelper method to create the headless Kerberos identities and keytab
files (inline). 
> This can be used to create the common identities and keytab files before parallel invocations
attempt to do so. Due to a race condition, parallel invocations of the server-side actions
to create principals and keytab files may lead to invalid keytab files being distributed to
some host because the password contained in them were clobbered. 
> By calling this new method before calls to install and start services the potential of
the race condition will be avoided. 
> {code}
>   boolean ensureHeadlessIdentities(Cluster cluster, Map<String, Map<String, String>>
existingConfigurations, Set<String> services)
>       throws KerberosInvalidConfigurationException, AmbariException;
> {code}



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

Mime
View raw message