You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2010/07/30 05:07:16 UTC

[jira] Created: (HBASE-2891) Allow rowcounter to process multiple tables in one run

Allow rowcounter to process multiple tables in one run
------------------------------------------------------

                 Key: HBASE-2891
                 URL: https://issues.apache.org/jira/browse/HBASE-2891
             Project: HBase
          Issue Type: Improvement
          Components: util
    Affects Versions: 0.20.5
            Reporter: Ted Yu


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

Also, shell count method doesn't require column names. It is desirable to omit specification of column names for the enhancement above to be implemented because different tables may have different column families.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2891) Allow rowcounter to process multiple tables in one run

Posted by "stack (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893926#action_12893926 ] 

stack commented on HBASE-2891:
------------------------------

Why not just run N rowcounter MR jobs?

> Allow rowcounter to process multiple tables in one run
> ------------------------------------------------------
>
>                 Key: HBASE-2891
>                 URL: https://issues.apache.org/jira/browse/HBASE-2891
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.20.5
>            Reporter: Ted Yu
>
> Currently rowcounter accepts one table for each run.
> It is desirable to add capability to process multiple tables in one run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2891) Allow rowcounter to process multiple tables in one run

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12893927#action_12893927 ] 

Ted Yu commented on HBASE-2891:
-------------------------------

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.

> Allow rowcounter to process multiple tables in one run
> ------------------------------------------------------
>
>                 Key: HBASE-2891
>                 URL: https://issues.apache.org/jira/browse/HBASE-2891
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.20.5
>            Reporter: Ted Yu
>
> Currently rowcounter accepts one table for each run.
> It is desirable to add capability to process multiple tables in one run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HBASE-2891) Allow rowcounter to process multiple tables in one run

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Yu updated HBASE-2891:
--------------------------

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


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

Also, shell count method doesn't require column names. It is desirable to omit specification of column names for the enhancement above to be implemented because different tables may have different column families.


> Allow rowcounter to process multiple tables in one run
> ------------------------------------------------------
>
>                 Key: HBASE-2891
>                 URL: https://issues.apache.org/jira/browse/HBASE-2891
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.20.5
>            Reporter: Ted Yu
>
> Currently rowcounter accepts one table for each run.
> It is desirable to add capability to process multiple tables in one run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HBASE-2891) Allow rowcounter to process multiple tables in one run

Posted by "Ted Yu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-2891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12894096#action_12894096 ] 

Ted Yu commented on HBASE-2891:
-------------------------------

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

> Allow rowcounter to process multiple tables in one run
> ------------------------------------------------------
>
>                 Key: HBASE-2891
>                 URL: https://issues.apache.org/jira/browse/HBASE-2891
>             Project: HBase
>          Issue Type: Improvement
>          Components: util
>    Affects Versions: 0.20.5
>            Reporter: Ted Yu
>
> Currently rowcounter accepts one table for each run.
> It is desirable to add capability to process multiple tables in one run.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.