You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "rajeshbabu (JIRA)" <ji...@apache.org> on 2014/02/11 08:22:19 UTC

[jira] [Created] (HBASE-10495) upgrade script is printing usage two times with help option.

rajeshbabu created HBASE-10495:
----------------------------------

             Summary: 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


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 <arg>   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 <arg>   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)