Repository: bigtop
Updated Branches:
  refs/heads/branch-1.2 5aeff9f1f -> 053e911dd (forced update)


Crunch build failed because of OS OOM killer on OpenJDK 1.8.0-144


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

Branch: refs/heads/branch-1.2
Commit: a7750a59f63648d23d9ce4c5580a4d3c76083bda
Parents: 187cc80
Author: Evans Ye <[email protected]>
Authored: Tue Oct 3 21:48:55 2017 +0800
Committer: Evans Ye <[email protected]>
Committed: Wed Oct 4 21:26:56 2017 +0800

----------------------------------------------------------------------
 bigtop_toolchain/manifests/jdk.pp | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/a7750a59/bigtop_toolchain/manifests/jdk.pp
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/manifests/jdk.pp 
b/bigtop_toolchain/manifests/jdk.pp
index 4e15eb1..24b2f1e 100644
--- a/bigtop_toolchain/manifests/jdk.pp
+++ b/bigtop_toolchain/manifests/jdk.pp
@@ -56,9 +56,16 @@ class bigtop_toolchain::jdk {
       apt::ppa { 'http://ppa.launchpad.net/openjdk-r/ppa/ubuntu':  }
     }
     /(CentOS|Amazon|Fedora)/: {
-      package { 'java-1.8.0-openjdk-devel' :
+      # BIGTOP-2900: Crunch build failed because of OS OOM killer on OpenJDK 
1.8.0-144
+      # Here we pin JDK to 1.8.0-131 to workaround this problem
+      $jdk = [
+        'java-1.8.0-openjdk-headless-1.8.0.131',
+        'java-1.8.0-openjdk-devel-1.8.0.131'
+      ]
+      package { $jdk :
         ensure => present
       }
+
       if ($::operatingsystem == "Fedora") {
         file { '/usr/lib/jvm/java-1.8.0-openjdk/jre/lib/security/cacerts':
           ensure => 'link',

Reply via email to