ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21099) Drop JDK 7 support for Ambari Server and Ambari managed services (AMS, LogSearch, Infra)
Date Wed, 28 Jun 2017 20:16:00 GMT

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

Hudson commented on AMBARI-21099:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7704 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7704/])
AMBARI-21099. Drop JDK 7 support for Ambari Server and Ambari managed (oleewere: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2f0de6919ba8bb43ae156d66b39335f9860d26b9])
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/shared_initialization.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java
* (edit) ambari-server/src/main/resources/common-services/AMBARI_INFRA/0.1.0/package/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-START/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/hooks/before-ANY/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/params.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariActionExecutionHelper.java
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/shared_initialization.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProvider.java
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-START/scripts/params.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/agent/ExecutionCommand.java
* (edit) ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/params.py
* (edit) ambari-server/docs/configuration/index.md
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-ANY/scripts/shared_initialization.py
* (edit) ambari-server/src/test/java/org/apache/ambari/server/utils/StageUtilsTest.java
* (edit) ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/before-ANY/scripts/shared_initialization.py
* (edit) ambari-server/src/main/resources/common-services/AMBARI_METRICS/0.1.0/package/scripts/params.py
* (edit) ambari-server/src/main/python/ambari_server/serverConfiguration.py
* (edit) ambari-server/src/main/resources/common-services/ATLAS/0.1.0.2.3/package/scripts/metadata.py
* (edit) ambari-server/src/main/resources/stacks/PERF/1.0/hooks/before-ANY/scripts/shared_initialization.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
* (edit) ambari-server/src/main/python/ambari_server/serverSetup.py
* (edit) ambari-server/src/main/python/ambari-server.py
* (edit) ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
* (edit) ambari-server/src/main/resources/common-services/LOGSEARCH/0.5.0/package/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/hooks/before-ANY/scripts/params.py
* (edit) ambari-server/src/main/resources/stacks/HDP/3.0/metainfo.xml
* (edit) ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/setup_ranger_xml.py
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/internal/ClientConfigResourceProviderTest.java
* (edit) ambari-server/src/test/python/TestAmbariServer.py


> Drop JDK 7 support for Ambari Server and Ambari managed services (AMS, LogSearch, Infra)
> ----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21099
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21099
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 3.0.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 3.0.0
>
>         Attachments: AMBARI-21099.patch
>
>
> Requirements:
> - ambari should drop JDK 7 support for ambari-server and ambari-managed services (infra,
ams, logsearch)
> - HDP 2.x should be still able to use JDK 1.7
> Changes in ambari setup:
> 1. First the usual ambari setup
> {code:java}
> Choose JDK for Ambari and Stack services:
> [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
> [2] Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
> [3] Custom JDK
> {code}
> 2. If JDK 7 is picked, that cannot be used for ambari (only for the stack services)
> {code:java}
> JDK 7 is detected (JDK 8 required for ambari-server), install JDK 8 as well:
> [1] Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8
> [3] Custom JDK
> {code}
> The following command also can work to setup custom java_home (for stacks + ambari):
> {code:java}
> ambari-server setup -s --java-home=... --stack-java-home=...
> {code}
> After the commands are executed, the following properties would appear in ambari.properties
> {code:java}
> stack.java.home=/usr/jdk64/jdk1.7.0_67
> stack.jdk.name=jdk-7u67linux-x64.tar.gz
> stack.jce.name=UnlimitedJCEPolicyJDK7.zip
> {code}
> During command.json generating, commandParameters would be filled with proper ambari
jdk,jce info (different for infra/logsearch/ams from other services) - not hostLevelParams,
as multiple command could use the same hostLevelParams (like start all services: that can
start zookeeper and ams as well with the same hostLevelParams)
> On ambari-upgrade, ambari process wont be able to start with jdk7 so it will be required
to run ambari-server setup first (you can skip the first change jdk part, but then the user
will see its needed to setup a different jdk for ambari)
> In the future, it will be recommended to do the JDK upgrade before upgrading to HDP 3.0
(to avoid some issues during HDP upgrade)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message