Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10495

upgrade script is printing usage two times with help option.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.96.0
    • 0.96.2, 0.98.1, 0.99.0
    • Usability
    • None
    • Reviewed

    Description

      while testing 0.98 RC found usage is printing two times with help option.

      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
      

      Attachments

        1. HBASE-10495.patch
          0.6 kB
          rajeshbabu

        Activity

          People

            rajesh23 rajeshbabu
            rajesh23 rajeshbabu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: