Standardize JAVA_HOME detection
-------------------------------
Key: BIGTOP-25
URL: https://issues.apache.org/jira/browse/BIGTOP-25
Project: Bigtop
Issue Type: Bug
Reporter: Roman Shaposhnik
Assignee: Roman Shaposhnik
Priority: Minor
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