Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-12018

JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring)

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.2
    • Component/s: ambari-server
    • Labels:
      None

      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.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-branch-2.1 #465 (See https://builds.apache.org/job/Ambari-branch-2.1/465/)
          AMBARI-12018. JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas) (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=113a0b602f59f03a05851ad4f4bfcec7d8f00d57)

          • ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py
          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py
          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py
          • ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-branch-2.1 #465 (See https://builds.apache.org/job/Ambari-branch-2.1/465/ ) AMBARI-12018 . JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas) (jluniya: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=113a0b602f59f03a05851ad4f4bfcec7d8f00d57 ) ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py
          Hide
          jluniya Jayush Luniya added a comment -

          Committed to branch-2.1
          commit 113a0b602f59f03a05851ad4f4bfcec7d8f00d57
          Author: Emil Anca <eanca@hortonworks.com>
          Date: Mon Jun 22 11:22:39 2015 -0400

          AMBARI-12018. JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas)

          Show
          jluniya Jayush Luniya added a comment - Committed to branch-2.1 commit 113a0b602f59f03a05851ad4f4bfcec7d8f00d57 Author: Emil Anca <eanca@hortonworks.com> Date: Mon Jun 22 11:22:39 2015 -0400 AMBARI-12018 . JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas)
          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Ambari-trunk-Commit #2971 (See https://builds.apache.org/job/Ambari-trunk-Commit/2971/)
          AMBARI-12018. JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas) (rlevas: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=116cd6e67eba27a6302e36b3b266504200f25025)

          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py
          • ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py
          • ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
          • ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py
          • ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Ambari-trunk-Commit #2971 (See https://builds.apache.org/job/Ambari-trunk-Commit/2971/ ) AMBARI-12018 . JCE distribution should be done as part of Kerberos service configure function instead from hooks (refactoring) (Emil Anca via rlevas) (rlevas: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=116cd6e67eba27a6302e36b3b266504200f25025 ) ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_common.py ambari-server/src/test/python/stacks/2.2/KERBEROS/test_kerberos_client.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/hook.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/params.py ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py ambari-server/src/main/resources/common-services/KERBEROS/1.10.3-10/package/scripts/kerberos_client.py ambari-server/src/test/python/stacks/2.0.6/hooks/before-ANY/test_before_any.py
          Hide
          rlevas Robert Levas added a comment -

          Committed to trunk

          commit 116cd6e67eba27a6302e36b3b266504200f25025
          Author: Emil Anca <eanca@hortonworks.com>
          Date:   Mon Jun 22 11:22:39 2015 -0400
          
          Show
          rlevas Robert Levas added a comment - Committed to trunk commit 116cd6e67eba27a6302e36b3b266504200f25025 Author: Emil Anca <eanca@hortonworks.com> Date: Mon Jun 22 11:22:39 2015 -0400
          Hide
          hadoopqa Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12740655/AMBARI-12018_01.patch
          against trunk revision .

          +1 @author. The patch does not contain any @author tags.

          +1 tests included. The patch appears to include 2 new or modified test files.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 release audit. The applied patch does not increase the total number of release audit warnings.

          -1 core tests. The patch failed these unit tests in ambari-server:

          org.apache.ambari.server.serveraction.upgrades.UpgradeActionTest

          Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3212//testReport/
          Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3212//console

          This message is automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12740655/AMBARI-12018_01.patch against trunk revision . +1 @author . The patch does not contain any @author tags. +1 tests included . The patch appears to include 2 new or modified test files. +1 javac . The applied patch does not increase the total number of javac compiler warnings. +1 release audit . The applied patch does not increase the total number of release audit warnings. -1 core tests . The patch failed these unit tests in ambari-server: org.apache.ambari.server.serveraction.upgrades.UpgradeActionTest Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/3212//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/3212//console This message is automatically generated.

            People

            • Assignee:
              eanca Emil Anca
              Reporter:
              eanca Emil Anca
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development