[ https://issues.apache.org/jira/browse/HBASE-27119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17554299#comment-17554299 ]
Wellington Chevreuil commented on HBASE-27119: ---------------------------------------------- _addFsRegionsMissingInMeta_ is also affected. > [HBCK2] Some commands are broken after HBASE-24587 > -------------------------------------------------- > > Key: HBASE-27119 > URL: https://issues.apache.org/jira/browse/HBASE-27119 > Project: HBase > Issue Type: Bug > Components: hbase-operator-tools, hbck2 > Reporter: Wellington Chevreuil > Assignee: Wellington Chevreuil > Priority: Major > > HBCK2 _replication_ and _filesystem_ commands are broken after HBASE-24587. > Trying to pass the _-f_ or _--fix_ options give the below error: > {noformat} > 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) > {noformat} > This is because _getInputList_ calls > [here|https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java#L1073] > and > [here|https://github.com/apache/hbase-operator-tools/blob/master/hbase-hbck2/src/main/java/org/apache/hbase/HBCK2.java#L1082] > 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. -- This message was sent by Atlassian Jira (v8.20.7#820007)