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

Make -h arg respected by hbck2 and exit if unrecognized arguments are passed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The -h argument in hbck is not respected and instead of displaying the argument usage guide, the command continued to execute. Any unrecognized arguments should cause an exception and exit.

       

      example: 

      $ hbck2 addFsRegionsMissingInMeta -h
      OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit; support was removed in 17.0
      19:09:08.831 [main] INFO  org.apache.hadoop.conf.Configuration.deprecation - hbase.client.pause.cqtbe is deprecated. Instead, use hbase.client.pause.server.overloaded
      ERROR: Unrecognized option: -h
      FOR USAGE, use the -h or --help option 

       

       

      Attachments

        Issue Links

          Activity

            People

              ksravista Sravi Kommineni
              ksravista Sravi Kommineni
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: