hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "chunhui shen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (HBASE-6870) HTable#coprocessorExec always scan the whole table
Date Thu, 04 Apr 2013 03:19:18 GMT

    [ https://issues.apache.org/jira/browse/HBASE-6870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13621701#comment-13621701
] 

chunhui shen edited comment on HBASE-6870 at 4/4/13 3:17 AM:
-------------------------------------------------------------

Current trunk still exists this problem:
HTable#coprocessorService -> getStartKeysInRange -> getStartEndKeys -> getRegionLocations
-> MetaScanner.allTableRegions(getConfiguration(), getTableName(), false)

Scanning the whole table regions for each coprocessorService...

I will update the patch after the vacation. 

Thanks for reviving, I have already forgot this one...
                
      was (Author: zjushch):
    Current trunk still exists this problem:
HTable#coprocessorService -> getStartKeysInRange -> getStartEndKeys -> getRegionLocations
-> MetaScanner.allTableRegions(getConfiguration(), getTableName(), false)

Scanning the whole table regions for each coprocessorService...

I will update the patch after the vocation. 

Thanks for reviving, I have already forgot this one...
                  
> HTable#coprocessorExec always scan the whole table 
> ---------------------------------------------------
>
>                 Key: HBASE-6870
>                 URL: https://issues.apache.org/jira/browse/HBASE-6870
>             Project: HBase
>          Issue Type: Improvement
>          Components: Coprocessors
>    Affects Versions: 0.94.1, 0.95.0, 0.96.0
>            Reporter: chunhui shen
>            Assignee: chunhui shen
>            Priority: Critical
>             Fix For: 0.95.1, 0.98.0
>
>         Attachments: HBASE-6870.patch, HBASE-6870-testPerformance.patch, HBASE-6870v2.patch,
HBASE-6870v3.patch
>
>
> In current logic, HTable#coprocessorExec always scan the whole table, its efficiency
is low and will affect the Regionserver carrying .META. under large coprocessorExec requests

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message