hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13139) Clean up missing JAVA_HOME message in bin/hbase-config.sh
Date Tue, 03 Mar 2015 20:12:05 GMT

    [ https://issues.apache.org/jira/browse/HBASE-13139?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14345651#comment-14345651
] 

Hudson commented on HBASE-13139:
--------------------------------

SUCCESS: Integrated in HBase-TRUNK #6201 (See [https://builds.apache.org/job/HBase-TRUNK/6201/])
HBASE-13139 Clean up missing JAVA_HOME message in bin/hbase-config.sh (apurtell: rev bd5eae0e1d51d50344805ffff006de17ed06016e)
* bin/hbase-config.sh


> Clean up missing JAVA_HOME message in bin/hbase-config.sh
> ---------------------------------------------------------
>
>                 Key: HBASE-13139
>                 URL: https://issues.apache.org/jira/browse/HBASE-13139
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>    Affects Versions: 1.0.0, 2.0.0, 0.98.10.1
>            Reporter: Esteban Gutierrez
>            Assignee: Esteban Gutierrez
>            Priority: Trivial
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.12
>
>         Attachments: 0001-HBASE-13139-Clean-up-missing-JAVA_HOME-message-in-bi.patch,
0001-HBASE-13139-Clean-up-missing-JAVA_HOME-message-in-bi.patch
>
>
> The message needs to be consisten to what the script does:
> Currently we say:
> {code}
> # Now having JAVA_HOME defined is required
> if [ -z "$JAVA_HOME" ]; then
>     cat 1>&2 <<EOF
> +======================================================================+
> |      Error: JAVA_HOME is not set and Java could not be found         |
> +----------------------------------------------------------------------+
> | Please download the latest Sun JDK from the Sun Java web site        |
> |       > http://java.sun.com/javase/downloads/ <                      |
> |                                                                      |
> | HBase requires Java 1.7 or later.                                    |
> | NOTE: This script will find Sun Java whether you install using the   |
> |       binary or the RPM based installer.                             |
> +======================================================================+
> EOF
> {code}
> this should be more like this:
> {code}
> +======================================================================+
> |                    Error: JAVA_HOME is not set                       |
> +----------------------------------------------------------------------+
> | Please download the latest Sun JDK from the Sun Java web site        |
> |       > http://java.sun.com/javase/downloads/ <                      |
> |                                                                      |
> | HBase requires Java 1.7 or later.                                    |
> +======================================================================+
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message