You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by as...@apache.org on 2016/12/05 19:53:13 UTC

bigtop git commit: BIGTOP-2621: JAVA_HOME is not set on Fedora-25+JAVA-1.8 for x86

Repository: bigtop
Updated Branches:
  refs/heads/master b6c1446b0 -> 2625cde73


BIGTOP-2621: JAVA_HOME is not set on Fedora-25+JAVA-1.8 for x86

Signed-off-by: Amir Sanjar <af...@gmail.com>


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

Branch: refs/heads/master
Commit: 2625cde7367a8e5b66857545d131d749fc3bb5dd
Parents: b6c1446
Author: Amir Sanjar <af...@gmail.com>
Authored: Mon Dec 5 13:46:04 2016 -0600
Committer: Amir Sanjar <af...@gmail.com>
Committed: Mon Dec 5 13:52:35 2016 -0600

----------------------------------------------------------------------
 bigtop_toolchain/manifests/env.pp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/2625cde7/bigtop_toolchain/manifests/env.pp
----------------------------------------------------------------------
diff --git a/bigtop_toolchain/manifests/env.pp b/bigtop_toolchain/manifests/env.pp
index 68cfe42..d8cbed7 100644
--- a/bigtop_toolchain/manifests/env.pp
+++ b/bigtop_toolchain/manifests/env.pp
@@ -23,6 +23,7 @@ class bigtop_toolchain::env {
     'amd64' : { $arch= "amd64" }
     'ppc64le' : { $arch= "ppc64el" }
     'aarch64' : { $arch = "arm64" }
+    'x86_64' : { $arch = "x86_64"}
   }
   case $operatingsystem {
     'Ubuntu','Debian': {
@@ -30,7 +31,7 @@ class bigtop_toolchain::env {
     }
     'Fedora','Centos', 'Amazon': {
       case $architecture {
-         'amd64' : { $javahome = "/usr/lib/jvm/${java}" }
+         'amd64','x86_64' : { $javahome = "/usr/lib/jvm/${java}" }
          'ppc64le' : { $javahome = "/usr/lib/jvm/${java}-openjdk" }
        }
     }