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] [Commented] (HBASE-8504) HTable.getRegionsInRange() should provide a non-cached API
Date Thu, 23 May 2013 01:54:20 GMT

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

chunhui shen commented on HBASE-8504:
-------------------------------------

+1 from me
                
> HTable.getRegionsInRange() should provide a non-cached API
> ----------------------------------------------------------
>
>                 Key: HBASE-8504
>                 URL: https://issues.apache.org/jira/browse/HBASE-8504
>             Project: HBase
>          Issue Type: New Feature
>          Components: Client
>    Affects Versions: 0.94.7
>            Reporter: Alan Choi
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-8504-v0.patch, HBASE-8504-v0.patch
>
>
> getRegionsInRange() calls getRegionLocation() without reloading it. It will return wrong
result if the cache is outdated due to region split. If the cost of always reloading isn't
significant, we should consider doing that by default. Otherwise, let's have an API for getRegionsInRange()
that forces a reload.

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