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 464FA181FC for ; Fri, 19 Jun 2015 14:25:26 +0000 (UTC) Received: (qmail 27450 invoked by uid 500); 19 Jun 2015 14:25:26 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 27421 invoked by uid 500); 19 Jun 2015 14:25:26 -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 27407 invoked by uid 99); 19 Jun 2015 14:25:25 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jun 2015 14:25:25 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id 4F578ADC05; Fri, 19 Jun 2015 14:25:25 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============2693823806865241765==" MIME-Version: 1.0 Subject: Review Request 35649: JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) From: "Emil Anca" To: "Robert Levas" , "Jaimin Jetly" Cc: "Emil Anca" , "Ambari" Date: Fri, 19 Jun 2015 14:25:25 -0000 Message-ID: <20150619142525.1512.73261@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org/ Auto-Submitted: auto-generated Sender: "Emil Anca" X-ReviewGroup: Ambari X-Auto-Response-Suppress: DR, RN, OOF, AutoReply X-ReviewRequest-URL: https://reviews.apache.org/r/35649/ X-Sender: "Emil Anca" Reply-To: "Emil Anca" X-ReviewRequest-Repository: ambari --===============2693823806865241765== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/35649/ ----------------------------------------------------------- Review request for Ambari, Jaimin Jetly and Robert Levas. Bugs: AMBARI-12018 https://issues.apache.org/jira/browse/AMBARI-12018 Repository: ambari Description ------- Ambari distributes JCE policy to a host before any install/start task is executed in a secure cluster. This is done via before-any hooks. Now since kerberos service is introduced in the stack, JCE policy should be distributed as part of the configure function of Kerberos service stack definition. This task should involve just ambari-agent code changes. Diffs ----- ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py 282915a ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py cd9b2ba ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py beb0479 ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py 1fd36d6 ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py 87719f3 ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py 699fe5f ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py 129907f ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py 85f3f7c Diff: https://reviews.apache.org/r/35649/diff/ Testing ------- Ambari server tests ran locally. Installed and Kerberized Cluster while monitoring the JCE policy distribution. Thanks, Emil Anca --===============2693823806865241765==--