HBASE-3703. hbase-config.sh needs to be updated so it can auto-detect the sun jdk provided by RHEL6

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1085798 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-03-26 20:38:21 +00:00
parent edd036b045
commit 561deab8fc
2 changed files with 3 additions and 0 deletions

View File

@ -211,6 +211,8 @@ Release 0.90.2 - Unreleased
HBASE-3640 [replication] Transferring queues shouldn't be done inline with RS startup
HBASE-3658 Alert when heap is over committed (Subbu M Iyer via Stack)
HBASE-3681 Check the sloppiness of the region load before balancing (Ted Yu via JD)
HBASE-3703 hbase-config.sh needs to be updated so it can auto-detect
the sun jdk provided by RHEL6 (Bruno Mahe via todd)
Release 0.90.1 - February 9th, 2011

View File

@ -84,6 +84,7 @@ fi
if [ -z "$JAVA_HOME" ]; then
for candidate in \
/usr/lib/jvm/java-6-sun \
/usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
/usr/lib/j2sdk1.6-sun \
/usr/java/jdk1.6* \
/usr/java/jre1.6* \