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

Unlimited Key JCE policy is enabled or not on each host

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.5.1
    • 2.5.1
    • ambari-agent, ambari-server
    • None

    Description

      From David Villarreal:

      In many cases we want to look at if JCE is installed on all HOSTS quickly and easily.
      I would like to make the suggestion that we report this on each host.
      For example,
      /usr/jdk64/jdk1.8.0_112/bin/java -jar /var/lib/ambari-agent/tools/jcepolicyinfo.jar -tu
      Unlimited Key JCE Policy: true
      This could live on the host view summary page and be apart of the ambari api so that support can easily check for this when needed.

      Attachments

        1. AMBARI-20525.patch
          13 kB
          Attila Magyar
        2. AMBARI-20525_branch-2.5.patch
          12 kB
          Attila Magyar

        Issue Links

          Activity

            hadoopqa Hadoop QA added a comment -

            +1 overall. Here are the results of testing the latest attachment
            http://issues.apache.org/jira/secure/attachment/12860643/AMBARI-20525.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 passed unit tests in ambari-agent ambari-server ambari-web.

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

            This message is automatically generated.

            hadoopqa Hadoop QA added a comment - +1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12860643/AMBARI-20525.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 passed unit tests in ambari-agent ambari-server ambari-web. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/11186//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11186//console This message is automatically generated.

            Committed to trunk.

            adoroszlai Attila Doroszlai added a comment - Committed to trunk .
            hudson Hudson added a comment -

            SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7153 (See https://builds.apache.org/job/Ambari-trunk-Commit/7153/)
            AMBARI-20525. Unlimited Key JCE policy is enabled or not on each host (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=550752deb2d6508f5aa97c9270a0bb9785104b2c)

            • (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
            • (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py
            • (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/shared_initialization.py
            • (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
            • (edit) ambari-web/app/models/host.js
            • (edit) ambari-web/app/messages.js
            • (edit) ambari-web/app/controllers/global/update_controller.js
            • (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
            • (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
            • (edit) ambari-web/app/templates/main/host/summary.hbs
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java
            • (edit) ambari-web/app/mappers/hosts_mapper.js
            hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Ambari-trunk-Commit #7153 (See https://builds.apache.org/job/Ambari-trunk-Commit/7153/ ) AMBARI-20525 . Unlimited Key JCE policy is enabled or not on each host (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=550752deb2d6508f5aa97c9270a0bb9785104b2c ) (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/shared_initialization.py (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java (edit) ambari-web/app/models/host.js (edit) ambari-web/app/messages.js (edit) ambari-web/app/controllers/global/update_controller.js (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java (edit) ambari-web/app/templates/main/host/summary.hbs (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java (edit) ambari-web/app/mappers/hosts_mapper.js
            hadoopqa Hadoop QA added a comment -

            -1 overall. Here are the results of testing the latest attachment
            http://issues.apache.org/jira/secure/attachment/12863011/AMBARI-20525_branch-2.5.patch
            against trunk revision .

            -1 patch. The patch command could not apply the patch.

            Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11366//console

            This message is automatically generated.

            hadoopqa Hadoop QA added a comment - -1 overall . Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12863011/AMBARI-20525_branch-2.5.patch against trunk revision . -1 patch . The patch command could not apply the patch. Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/11366//console This message is automatically generated.

            Committed to branch-2.5.

            adoroszlai Attila Doroszlai added a comment - Committed to branch-2.5 .
            hudson Hudson added a comment -

            SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1389 (See https://builds.apache.org/job/Ambari-branch-2.5/1389/)
            AMBARI-20525. Unlimited Key JCE policy is enabled or not on each host (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=688d000d30f2c1f9f1d3053040f53b81d453ad53)

            • (edit) ambari-web/app/controllers/global/update_controller.js
            • (edit) ambari-web/app/mappers/hosts_mapper.js
            • (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
            • (edit) ambari-web/app/models/host.js
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
            • (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py
            • (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py
            • (edit) ambari-web/app/templates/main/host/summary.hbs
            • (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java
            • (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
            • (edit) ambari-web/app/messages.js
            hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #1389 (See https://builds.apache.org/job/Ambari-branch-2.5/1389/ ) AMBARI-20525 . Unlimited Key JCE policy is enabled or not on each host (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=688d000d30f2c1f9f1d3053040f53b81d453ad53 ) (edit) ambari-web/app/controllers/global/update_controller.js (edit) ambari-web/app/mappers/hosts_mapper.js (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py (edit) ambari-web/app/models/host.js (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py (edit) ambari-web/app/templates/main/host/summary.hbs (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java (edit) ambari-web/app/messages.js
            hudson Hudson added a comment -

            FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See https://builds.apache.org/job/Ambari-trunk-Commit/8744/)
            AMBARI-20525. Unlimited Key JCE policy is enabled or not on each host (aonishuk: https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=3b27cf10310dc84314a4a24faf4f75b134c4c8d8)

            • (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
            • (edit) ambari-web/app/mappers/hosts_mapper.js
            • (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/shared_initialization.py
            • (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
            • (edit) ambari-web/app/models/host.js
            • (edit) ambari-web/app/templates/main/host/summary.hbs
            • (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java
            • (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py
            • (edit) ambari-web/app/messages.js
            • (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
            • (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py
            • (edit) ambari-web/app/controllers/global/update_controller.js
            hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8744 (See https://builds.apache.org/job/Ambari-trunk-Commit/8744/ ) AMBARI-20525 . Unlimited Key JCE policy is enabled or not on each host (aonishuk: https://gitbox.apache.org/repos/asf?p=ambari.git&a=commit&h=3b27cf10310dc84314a4a24faf4f75b134c4c8d8 ) (edit) ambari-agent/src/main/python/ambari_agent/HostInfo.py (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java (edit) ambari-web/app/mappers/hosts_mapper.js (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/shared_initialization.py (edit) ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java (edit) ambari-web/app/models/host.js (edit) ambari-web/app/templates/main/host/summary.hbs (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/AgentEnv.java (edit) ambari-agent/src/test/python/ambari_agent/TestHostInfo.py (edit) ambari-web/app/messages.js (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py (edit) ambari-common/src/main/python/resource_management/core/resources/jcepolicyinfo.py (edit) ambari-web/app/controllers/global/update_controller.js

            People

              amagyar Attila Magyar
              amagyar Attila Magyar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: