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 Tue, 22 Dec 2015 03:49:46 GMT

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

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

FAILURE: Integrated in Ambari-branch-2.2 #89 (See [https://builds.apache.org/job/Ambari-branch-2.2/89/])
AMBARI-14376. Create KerberosHelper method to create the headless (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=aae6acc691a7acdcd565d26fbe384a4aea4bd02b])
* 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/main/java/org/apache/ambari/server/serveraction/kerberos/CreateKeytabFilesServerAction.java
* ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.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