[
https://issues.apache.org/jira/browse/HBASE-24587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17499761#comment-17499761
]
Clara Xiong commented on HBASE-24587:
-------------------------------------
# added a common -i option so any command that takes a list of argument can
take a list of input files.
# updated the -h message and README.
# added a unit test for the generic option and test this option for assigns
and unassigns. For other commands, since they all share the same code path, I
don't see a need to add more ut. The existing ut for other command don't touch
generic options either.
# for commands that take two arguments(table|resgion state), I will open a
separate jira and pr for taking the pairs in a list of files because that
involves changing the interface of calls to server.
> hbck2 command should accept one or more files containing a list of region
> names/table names/namespaces
> ------------------------------------------------------------------------------------------------------
>
> Key: HBASE-24587
> URL: https://issues.apache.org/jira/browse/HBASE-24587
> Project: HBase
> Issue Type: Improvement
> Components: hbase-operator-tools, hbck2
> Affects Versions: hbase-operator-tools-1.0.0
> Reporter: Clara Xiong
> Assignee: Clara Xiong
> Priority: Major
>
> Currently many command accepts a list of region names/ table names/namespaces
> on the command line. We should accept paths to one or more files that
> contains these encoded regions, one per line. That way, this command tails
> nicely into an operator's incantation using grep/sed over log files.
> Similar work has been done in
> https://issues.apache.org/jira/browse/HBASE-23927
--
This message was sent by Atlassian Jira
(v8.20.1#820001)