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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 0.96.1, 0.98.1
    • Fix Version/s: 0.96.2, 0.98.1, 0.99.0
    • Component/s: Usability
    • Labels:
      None
    • Hadoop Flags:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: