AMBARI-19748. Upgrade default JDK installed by Ambari to be >8u100.(vbrodetskyi)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/34d029bf
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/34d029bf
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/34d029bf

Branch: refs/heads/branch-dev-patch-upgrade
Commit: 34d029bf9cd665312de4c6d4c54a21bc9ea83858
Parents: ad195c2
Author: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Authored: Fri Jan 27 17:55:12 2017 +0200
Committer: Vitaly Brodetskyi <vbrodets...@hortonworks.com>
Committed: Fri Jan 27 17:56:00 2017 +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/34d029bf/ambari-server/conf/unix/ambari.properties
----------------------------------------------------------------------
diff --git a/ambari-server/conf/unix/ambari.properties 
b/ambari-server/conf/unix/ambari.properties
index ca8ae77..f16402e 100644
--- a/ambari-server/conf/unix/ambari.properties
+++ b/ambari-server/conf/unix/ambari.properties
@@ -34,8 +34,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-8u77-linux-x64.tar.gz
-jdk1.8.dest-file=jdk-8u77-linux-x64.tar.gz
+jdk1.8.url=http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u112-linux-x64.tar.gz
+jdk1.8.dest-file=jdk-8u112-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/34d029bf/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 7e2167d..adb5885 100644
--- a/ambari-server/src/main/python/ambari_server/serverSetup.py
+++ b/ambari-server/src/main/python/ambari_server/serverSetup.py
@@ -742,9 +742,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-8u77-linux-x64.tar.gz";, 
"jdk-8u77-linux-x64.tar.gz",
+                 
"http://public-repo-1.hortonworks.com/ARTIFACTS/jdk-8u112-linux-x64.tar.gz";, 
"jdk-8u112-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_77"),
+                 AmbariPath.get("/usr/jdk64/jdk1.8.0_112"),
                  "(jdk.*)/jre")
     ]
 

Reply via email to