hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18005) read replica: handle the case that region server hosting both primary replica and meta region is down
Date Tue, 06 Jun 2017 00:06:12 GMT

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

Hadoop QA commented on HBASE-18005:

| (x) *{color:red}-1 overall{color}* |
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 0s {color} | {color:blue}
Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red} 6m 37s {color} | {color:red}
Docker failed to build yetus/hbase:58c504e. {color} |
|| Subsystem || Report/Notes ||
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12871365/HBASE-18005-branch-1-v001.patch
| JIRA Issue | HBASE-18005 |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/7081/console |
| Powered by | Apache Yetus 0.3.0   http://yetus.apache.org |

This message was automatically generated.

> read replica: handle the case that region server hosting both primary replica and meta
region is down
> -----------------------------------------------------------------------------------------------------
>                 Key: HBASE-18005
>                 URL: https://issues.apache.org/jira/browse/HBASE-18005
>             Project: HBase
>          Issue Type: Bug
>            Reporter: huaxiang sun
>            Assignee: huaxiang sun
>         Attachments: HBASE-18005-branch-1-v001.patch, HBASE-18005-master-001.patch, HBASE-18005-master-002.patch,
HBASE-18005-master-003.patch, HBASE-18005-master-004.patch, HBASE-18005-master-005.patch,
> Identified one corner case in testing  that when the region server hosting both primary
replica and the meta region is down, the client tries to reload the primary replica location
from meta table, it is supposed to clean up only the cached location for specific replicaId,
but it clears caches for all replicas. Please see
> https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java#L813
> Since it takes some time for regions to be reassigned (including meta region), the following
may throw exception
> https://github.com/apache/hbase/blob/master/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCallerWithReadReplicas.java#L173
> This exception needs to be caught and  it needs to get cached location (in this case,
the primary replica's location is not available). If there are cached locations for other
replicas, it can still go ahead to get stale values from secondary replicas.
> With meta replica, it still helps to not clean up the caches for all replicas as the
info from primary meta replica is up-to-date.

This message was sent by Atlassian JIRA

View raw message