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

RowCounter should support multiple key ranges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.4.0, 0.98.21, 2.0.0
    • None
    • None
    • Reviewed

    Description

      Currently, RowCounter only allows a single key range to be used as a filter. It would be useful in some cases to be able to specify multiple key ranges (or prefixes) in the same job. (For example, counting over a set of Phoenix tenant ids in an unsalted table)

      This could be done by enhancing the existing key range parameter to take multiple start/stop row pairs. Alternately, a new --row-prefixes option could be added, similar to what HBASE-15847 did for VerifyReplication.

      Attachments

        1. HBASE-16108.master.001.patch
          10 kB
          Konstantin Ryakhovskiy
        2. HBASE-16108.master.003.patch
          11 kB
          Konstantin Ryakhovskiy
        3. HBASE-16108.master.004.patch
          12 kB
          Konstantin Ryakhovskiy
        4. test_HBASE-16108.log
          46 kB
          Konstantin Ryakhovskiy
        5. test_TestTableBasedReplicationSourceManagerImpl.log
          87 kB
          Konstantin Ryakhovskiy
        6. HBASE-16108.branch-1.001.patch
          16 kB
          Konstantin Ryakhovskiy

        Activity

          People

            ryakhovskiy.k Konstantin Ryakhovskiy
            gjacoby Geoffrey Jacoby
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: