[
https://issues.apache.org/jira/browse/HBASE-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zhihong Yu updated HBASE-5809:
------------------------------
Comment: was deleted
(was: 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