wchevreuil commented on PR #107: URL: https://github.com/apache/hbase-operator-tools/pull/107#issuecomment-1157446423
> Mind explaining a bit on what is the problem here? After skimming the PR, I can not fully understand what is the problem we are trying to fix here... HBCK2 _replication_ and _filesystem_ commands are broken after [HBASE-24587](https://issues.apache.org/jira/browse/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](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_ options, throwing an exception if we pass _-f/--fix_ options. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
