You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Clara Xiong (Jira)" <ji...@apache.org> on 2020/06/11 21:45:00 UTC

[jira] [Updated] (HBASE-23927) hbck2 assigns command should accept a file containing a list of region names

     [ https://issues.apache.org/jira/browse/HBASE-23927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Clara Xiong updated HBASE-23927:
--------------------------------
    Release Note: 
This adds a new option -i or --inputFile to assigns function to allow one or more files to read the region list from for region assignment. Each file contains encoded region names, one per line. White spaces will be trimmed. For example:
     $ HBCK2 assigns -i file1 file2
The files can be generated or piped from operator running grep/sed over log files.



> hbck2 assigns command should accept a file containing a list of region names
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-23927
>                 URL: https://issues.apache.org/jira/browse/HBASE-23927
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbck2, Operability, Usability
>    Affects Versions: hbase-operator-tools-1.0.0
>            Reporter: Nick Dimiduk
>            Assignee: Clara Xiong
>            Priority: Major
>
> The interface is not very ergonomic. Currently the command accepts a list of region names on the command line. If you have 100's of regions to assign, this sucks. We should accept a path to a file 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)