HBase
  1. HBase
  2. HBASE-2891

Allow rowcounter to process multiple tables in one run

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 0.20.5
    • Fix Version/s: None
    • Component/s: util
    • Labels:
      None

      Description

      Currently rowcounter accepts one table for each run.
      It is desirable to add capability to process multiple tables in one run.

        Activity

        Hide
        stack added a comment -

        Why not just run N rowcounter MR jobs?

        Show
        stack added a comment - Why not just run N rowcounter MR jobs?
        Hide
        Ted Yu added a comment -

        My plan is to accept regex as table names and use MetaScanner.metaScan() to discover the tables.
        The goal is to calculate the total number of rows across all those tables.

        I came upon this requirement when investigating HBASE-2885.

        Show
        Ted Yu added a comment - My plan is to accept regex as table names and use MetaScanner.metaScan() to discover the tables. The goal is to calculate the total number of rows across all those tables. I came upon this requirement when investigating HBASE-2885 .
        Hide
        Ted Yu added a comment -

        TableInputFormatBase in both namespaces only keeps reference to HTable.
        An HTable array needs to be used for this request.

        Show
        Ted Yu added a comment - TableInputFormatBase in both namespaces only keeps reference to HTable. An HTable array needs to be used for this request.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ted Yu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development