Return-Path: X-Original-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-bigtop-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A6EB7272 for ; Tue, 23 Aug 2011 17:40:51 +0000 (UTC) Received: (qmail 19966 invoked by uid 500); 23 Aug 2011 17:40:51 -0000 Delivered-To: apmail-incubator-bigtop-dev-archive@incubator.apache.org Received: (qmail 19892 invoked by uid 500); 23 Aug 2011 17:40:51 -0000 Mailing-List: contact bigtop-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bigtop-dev@incubator.apache.org Delivered-To: mailing list bigtop-dev@incubator.apache.org Received: (qmail 19802 invoked by uid 99); 23 Aug 2011 17:40:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 17:40:50 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Aug 2011 17:40:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 763B6CC16B for ; Tue, 23 Aug 2011 17:40:29 +0000 (UTC) Date: Tue, 23 Aug 2011 17:40:29 +0000 (UTC) From: "Andrew Bayer (JIRA)" To: bigtop-dev@incubator.apache.org Message-ID: <1637865195.5949.1314121229481.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1185556076.51303.1313713347099.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (BIGTOP-25) Standardize JAVA_HOME detection MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BIGTOP-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrew Bayer updated BIGTOP-25: ------------------------------- Component/s: General Affects Version/s: 0.1.0 Fix Version/s: 0.2.0 > Standardize JAVA_HOME detection > ------------------------------- > > Key: BIGTOP-25 > URL: https://issues.apache.org/jira/browse/BIGTOP-25 > Project: Bigtop > Issue Type: Bug > Components: General > Affects Versions: 0.1.0 > Reporter: Roman Shaposhnik > Assignee: Roman Shaposhnik > Priority: Minor > Fix For: 0.2.0 > > > The Hadoop packages go through some effort (see /usr/lib/hadoop-0.20/bin/hadoop-config.sh) to guess at a good JVM to use if JAVA_HOME isn't set. For example, if both OpenJDK and Oracle JDK are installed, hadoop-config.sh will choose Oracle every time. Other packages that Bigtop integrates, don't follow the same practice (ZK, Pig, etc.). It would be nice to have this common code shared. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira