You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Wellington Chevreuil (Jira)" <ji...@apache.org> on 2022/06/14 15:14:00 UTC
[jira] [Created] (HBASE-27119) [HBCK2] Some commands are broken after HBASE-24587
Wellington Chevreuil created HBASE-27119:
--------------------------------------------
Summary: [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
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)