hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18004) getRegionLocations needs to be called once in ScannerCallableWithReplicas#call()
Date Sat, 01 Jul 2017 07:03:03 GMT

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

Hudson commented on HBASE-18004:
--------------------------------

FAILURE: Integrated in Jenkins build HBase-1.4 #796 (See [https://builds.apache.org/job/HBase-1.4/796/])
HBASE-18004 getRegionLocations needs to be called once in (stack: rev 262e6bb3fa20fd138cf13a35b44576d6733f9856)
* (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallableWithReplicas.java


> getRegionLocations  needs to be called once in ScannerCallableWithReplicas#call()
> ---------------------------------------------------------------------------------
>
>                 Key: HBASE-18004
>                 URL: https://issues.apache.org/jira/browse/HBASE-18004
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>    Affects Versions: 2.0.0
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-18004.branch-1.001.patch, HBASE-18004-master-001.patch, HBASE-18004-master-002.patch
>
>
> Look at this line,
> https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ScannerCallableWithReplicas.java#L145
> It calls getRegionLocations() to get the primary region's locations. It's usage is to
figure out table's region replications. Since table's region replication wont be changed until
the table is disabled. It is safe to cache this region replication.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message