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

hbase/bin/hbase-cleanup.sh has wrong usage string

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 0.96.1, 0.98.1
    • 0.96.2, 0.98.1, 0.99.0
    • Usability
    • None
    • Reviewed

    Description

      Looks like hbase-cleanup,sh has wrong Usage string.
      https://github.com/apache/hbase/blob/trunk/bin/hbase-cleanup.sh#L34

      Current Usage string:

      [systest@search-testing-c5-ncm-1 ~]$ echo `/usr/lib/hbase/bin/hbase-cleanup.sh`
      Usage: hbase-cleanup.sh (zk|hdfs|all)
      

      But ideally digging into the logic of hbase-cleanup.sh, it should be modified to

      [systest@search-testing-c5-ncm-1 ~]$ echo `/usr/lib/hbase/bin/hbase-cleanup.sh`
      Usage: hbase-cleanup.sh (--cleanZk|--cleanHdfs|--cleanAll)
      

      Attachments

        1. HBASE-10769-v0.patch
          0.5 kB
          Vamsee K. Yarlagadda

        Activity

          People

            vamsee Vamsee K. Yarlagadda
            vamsee Vamsee K. Yarlagadda
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: