hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5809) Avoid move api to take the destination server same as the source server.
Date Fri, 20 Apr 2012 19:16:37 GMT

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

Zhihong Yu commented on HBASE-5809:
-----------------------------------

I think the failure was due to testRegionTransitionOperations not checking whether the source
and destination servers are the same:
{code}
    master.move(firstGoodPair.getKey().getEncodedNameAsBytes(),
      Bytes.toBytes(destName));
{code}
To make the test valid, destName should be chosen to be different from source server.
                
> Avoid move api to take the destination server same as the source server.
> ------------------------------------------------------------------------
>
>                 Key: HBASE-5809
>                 URL: https://issues.apache.org/jira/browse/HBASE-5809
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 0.92.1
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: rajeshbabu
>            Priority: Minor
>              Labels: client
>             Fix For: 0.96.0
>
>         Attachments: HBASE-5809.patch, HBASE-5809.patch
>
>
> In Move currently we take any destination specified and if the destination is same as
the source we still do unassign and assign.  Here we can have problems due to RegionAlreadyInTransitionException
and thus hanging the region in RIT for long time.  We can avoid this scenario by not allowing
the move to happen in this scenario.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message