Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77DC9102D1 for ; Mon, 2 Mar 2015 19:30:06 +0000 (UTC) Received: (qmail 80206 invoked by uid 500); 2 Mar 2015 19:30:05 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 80156 invoked by uid 500); 2 Mar 2015 19:30:05 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 80140 invoked by uid 99); 2 Mar 2015 19:30:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Mar 2015 19:30:05 +0000 Date: Mon, 2 Mar 2015 19:30:05 +0000 (UTC) From: "Esteban Gutierrez (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-13139) Clean up missing JAVA_HOME message in bin/hbase-config.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Esteban Gutierrez created HBASE-13139: ----------------------------------------- Summary: 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: 0.98.10.1, 1.0.0, 2.0.0 Reporter: Esteban Gutierrez Priority: Trivial 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 < 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)