AMBARI-18249. Set the default 1.8 JDK to 18.0_77 for Ambari. (stoader)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/c8f1a423 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/c8f1a423 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/c8f1a423 Branch: refs/heads/2.4.0-maint Commit: c8f1a423075c24be3f6efc32a2c1955e4c40659c Parents: 5516d30 Author: Toader, Sebastian <[email protected]> Authored: Wed Aug 24 14:08:41 2016 +0200 Committer: Toader, Sebastian <[email protected]> Committed: Wed Aug 24 15:46:16 2016 +0200 ---------------------------------------------------------------------- ambari-server/conf/unix/ambari.properties | 4 ++-- ambari-server/src/main/python/ambari_server/serverSetup.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/c8f1a423/ambari-server/conf/unix/ambari.properties ---------------------------------------------------------------------- diff --git a/ambari-server/conf/unix/ambari.properties b/ambari-server/conf/unix/ambari.properties index b8e41b7..52f4959 100644 --- a/ambari-server/conf/unix/ambari.properties +++ b/ambari-server/conf/unix/ambari.properties @@ -32,8 +32,8 @@ jdk1.7.jcpol-file=UnlimitedJCEPolicyJDK7.zip jdk1.7.home=$ROOT/usr/jdk64/ jdk1.7.re=(jdk.*)/jre jdk1.8.desc=Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8 -jdk1.8.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u60-linux-x64.tar.gz -jdk1.8.dest-file=jdk-8u60-linux-x64.tar.gz +jdk1.8.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u77-linux-x64.tar.gz +jdk1.8.dest-file=jdk-8u77-linux-x64.tar.gz jdk1.8.jcpol-url=http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-8.zip jdk1.8.jcpol-file=jce_policy-8.zip jdk1.8.home=$ROOT/usr/jdk64/ http://git-wip-us.apache.org/repos/asf/ambari/blob/c8f1a423/ambari-server/src/main/python/ambari_server/serverSetup.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/python/ambari_server/serverSetup.py b/ambari-server/src/main/python/ambari_server/serverSetup.py index d80c25a..60e9497 100644 --- a/ambari-server/src/main/python/ambari_server/serverSetup.py +++ b/ambari-server/src/main/python/ambari_server/serverSetup.py @@ -733,9 +733,9 @@ class JDKSetupLinux(JDKSetup): super(JDKSetupLinux, self).__init__() self.JDK_DEFAULT_CONFIGS = [ JDKRelease("jdk1.8", "Oracle JDK 1.8 + Java Cryptography Extension (JCE) Policy Files 8", - "http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u60-linux-x64.tar.gz", "jdk-8u60-linux-x64.tar.gz", + "http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u77-linux-x64.tar.gz", "jdk-8u77-linux-x64.tar.gz", "http://public-repo-1.hortonworks.com/ARTIFACTS/jce_policy-8.zip", "jce_policy-8.zip", - AmbariPath.get("/usr/jdk64/jdk1.8.0_40"), + AmbariPath.get("/usr/jdk64/jdk1.8.0_77"), "(jdk.*)/jre") ]
