hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-11530) RegionStates adds regions to wrong servers
Date Wed, 16 Jul 2014 22:29:06 GMT

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

Mikhail Antonov commented on HBASE-11530:
-----------------------------------------

Could you explain a bit on that, just want to make sure I understand? This line corresponds
to the case when we move one move region to another one, so I would imagine we need to mark
lastHost to be equal to server name, and this server name to be kept in the serverHoldings?

> RegionStates adds regions to wrong servers
> ------------------------------------------
>
>                 Key: HBASE-11530
>                 URL: https://issues.apache.org/jira/browse/HBASE-11530
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.99.0
>
>         Attachments: hbase-11530.patch
>
>
> In RegionStates.java, we have (line 332)
> {quote}
> addToServerHoldings(serverName, hri);
> {quote}
> It should be
> {quote}
> addToServerHoldings(lastHost, hri);
> {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message