Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-23927

hbck2 assigns command should accept one or more files containing a list of region names

    XMLWordPrintableJSON

    Details

    • Release Note:
      Hide
      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.

      Show
      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.

      Description

      Currently, assigns command accepts a list of region names as parameter. When dealing with a very large number of regions, though, passing all regions encoded name as the command parameters becomes too much overhead for the CLI. We should accept a path to one or more 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                clarax98007 Clara Xiong
                Reporter:
                ndimiduk Nick Dimiduk
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: