Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4FF4C18326 for ; Wed, 16 Dec 2015 19:27:48 +0000 (UTC) Received: (qmail 27131 invoked by uid 500); 16 Dec 2015 19:27:47 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 26761 invoked by uid 500); 16 Dec 2015 19:27:47 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 26269 invoked by uid 99); 16 Dec 2015 19:27:47 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Dec 2015 19:27:47 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1CCE02C1F87 for ; Wed, 16 Dec 2015 19:27:47 +0000 (UTC) Date: Wed, 16 Dec 2015 19:27:47 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-14376) Create KerberosHelper method to create the headless Kerberos identities and keytab files (inline) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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> existingConfigurations, Set services) > throws KerberosInvalidConfigurationException, AmbariException; > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)