HBASE-16753 There is a mismatch between suggested Java version in hbase-env.sh

Signed-off-by: Dima Spivak <dimaspivak@apache.org>
This commit is contained in:
Umesh Agashe 2016-10-03 14:02:28 -07:00 committed by Dima Spivak
parent 3aa4dfa73d
commit 1f1a13f2e2
4 changed files with 5 additions and 5 deletions

View File

@ -132,7 +132,7 @@ if [ -z "$JAVA_HOME" ]; then
| Please download the latest Sun JDK from the Sun Java web site | | Please download the latest Sun JDK from the Sun Java web site |
| > http://www.oracle.com/technetwork/java/javase/downloads | | > http://www.oracle.com/technetwork/java/javase/downloads |
| | | |
| HBase requires Java 1.7 or later. | | HBase requires Java 1.8 or later. |
+======================================================================+ +======================================================================+
EOF EOF
exit 1 exit 1

View File

@ -18,7 +18,7 @@
@rem Set environment variables here. @rem Set environment variables here.
@rem The java implementation to use. Java 1.7+ required. @rem The java implementation to use. Java 1.8+ required.
@rem set JAVA_HOME=c:\apps\java @rem set JAVA_HOME=c:\apps\java
@rem Extra Java CLASSPATH elements. Optional. @rem Extra Java CLASSPATH elements. Optional.

View File

@ -24,8 +24,8 @@
# so try to keep things idempotent unless you want to take an even deeper look # so try to keep things idempotent unless you want to take an even deeper look
# into the startup scripts (bin/hbase, etc.) # into the startup scripts (bin/hbase, etc.)
# The java implementation to use. Java 1.7+ required. # The java implementation to use. Java 1.8+ required.
# export JAVA_HOME=/usr/java/jdk1.6.0/ # export JAVA_HOME=/usr/java/jdk1.8.0/
# Extra Java CLASSPATH elements. Optional. # Extra Java CLASSPATH elements. Optional.
# export HBASE_CLASSPATH= # export HBASE_CLASSPATH=

View File

@ -729,7 +729,7 @@ The following lines in the _hbase-env.sh_ file show how to set the `JAVA_HOME` e
---- ----
# The java implementation to use. # The java implementation to use.
export JAVA_HOME=/usr/java/jdk1.7.0/ export JAVA_HOME=/usr/java/jdk1.8.0/
# The maximum amount of heap to use. Default is left to JVM default. # The maximum amount of heap to use. Default is left to JVM default.
export HBASE_HEAPSIZE=4G export HBASE_HEAPSIZE=4G