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 1AA2410A3C for ; Tue, 11 Feb 2014 07:24:24 +0000 (UTC) Received: (qmail 40067 invoked by uid 500); 11 Feb 2014 07:24:22 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 39781 invoked by uid 500); 11 Feb 2014 07:24:21 -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 39473 invoked by uid 99); 11 Feb 2014 07:24:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Feb 2014 07:24:20 +0000 Date: Tue, 11 Feb 2014 07:24:20 +0000 (UTC) From: "rajeshbabu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10495) upgrade script is printing usage two times with help option. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] rajeshbabu updated HBASE-10495: ------------------------------- Status: Patch Available (was: Open) > upgrade script is printing usage two times with help option. > ------------------------------------------------------------ > > Key: HBASE-10495 > URL: https://issues.apache.org/jira/browse/HBASE-10495 > Project: HBase > Issue Type: Bug > Components: Usability > Affects Versions: 0.96.0 > Reporter: rajeshbabu > Assignee: rajeshbabu > Priority: Minor > Fix For: 0.96.2, 0.98.1, 0.99.0 > > Attachments: HBASE-10495.patch > > > while testing 0.98 RC found usage is printing two times with help option. > {code} > HOST-10-18-91-14:/home/rajeshbabu/98RC3/hbase-0.98.0-hadoop2/bin # ./hbase upgrade -h > usage: $bin/hbase upgrade -check [-dir DIR]|-execute > -check Run upgrade check; looks for HFileV1 under ${hbase.rootdir} > or provided 'dir' directory. > -dir Relative path of dir to check for HFileV1s. > -execute Run upgrade; zk and hdfs must be up, hbase down > -h,--help Help > Read http://hbase.apache.org/book.html#upgrade0.96 before attempting upgrade > Example usage: > Run upgrade check; looks for HFileV1s under ${hbase.rootdir}: > $ bin/hbase upgrade -check > Run the upgrade: > $ bin/hbase upgrade -execute > usage: $bin/hbase upgrade -check [-dir DIR]|-execute > -check Run upgrade check; looks for HFileV1 under ${hbase.rootdir} > or provided 'dir' directory. > -dir Relative path of dir to check for HFileV1s. > -execute Run upgrade; zk and hdfs must be up, hbase down > -h,--help Help > Read http://hbase.apache.org/book.html#upgrade0.96 before attempting upgrade > Example usage: > Run upgrade check; looks for HFileV1s under ${hbase.rootdir}: > $ bin/hbase upgrade -check > Run the upgrade: > $ bin/hbase upgrade -execute > {code} -- This message was sent by Atlassian JIRA (v6.1.5#6160)