Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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
- is caused by
-
HBASE-24587 hbck2 command should accept one or more files containing a list of region names/table names/namespaces
- Resolved
- links to