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

[HBCK2] Some commands are broken after HBASE-24587

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.0.4
    • hbase-operator-tools, hbck2
    • None

    Description

      HBCK2 replication and filesystem commands are broken after HBASE-24587. Trying to pass the f or -fix options give the below error:

      ERROR: Unrecognized option: -f
      FOR USAGE, use the -h or --help option
      2022-06-14T16:07:32,296 INFO  [main] client.ConnectionImplementation: Closing master protocol: MasterService
      Exception in thread "main" java.lang.NullPointerException
      	at org.apache.hbase.HBCK2.doCommandLine(HBCK2.java:1083)
      	at org.apache.hbase.HBCK2.run(HBCK2.java:982)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
      	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
      	at org.apache.hbase.HBCK2.main(HBCK2.java:1318)
      

      This is because getInputList calls here and here only accept the i/inputFiles, throwing an exception if we pass -f/-fix options.

      Still need to confirm if any other command is affected by this.

      Attachments

        Issue Links

          Activity

            People

              wchevreuil Wellington Chevreuil
              wchevreuil Wellington Chevreuil
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: