[
https://issues.apache.org/jira/browse/HBASE-28632?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nick Dimiduk resolved HBASE-28632.
----------------------------------
Fix Version/s: hbase-operator-tools-1.3.0
Resolution: Fixed
Thanks [~ksravista] for the contribution and [~rmdmattingly] for the review
help.
> Make -h arg respected by hbck2 and exit if unrecognized arguments are passed
> ----------------------------------------------------------------------------
>
> Key: HBASE-28632
> URL: https://issues.apache.org/jira/browse/HBASE-28632
> Project: HBase
> Issue Type: Bug
> Reporter: Sravi Kommineni
> Assignee: Sravi Kommineni
> Priority: Major
> Fix For: hbase-operator-tools-1.3.0
>
>
> The -h argument in hbck is not respected and instead of displaying the
> argument usage guide, the command continued to execute. Any unrecognized
> arguments should cause an exception and exit.
>
> example:
> {code:java}
> $ hbck2 addFsRegionsMissingInMeta -h
> OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=permit;
> support was removed in 17.0
> 19:09:08.831 [main] INFO org.apache.hadoop.conf.Configuration.deprecation -
> hbase.client.pause.cqtbe is deprecated. Instead, use
> hbase.client.pause.server.overloaded
> ERROR: Unrecognized option: -h
> FOR USAGE, use the -h or --help option {code}
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)