[
https://issues.apache.org/jira/browse/HBASE-7390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13536452#comment-13536452
]
Sergey Shelukhin commented on HBASE-7390:
-----------------------------------------
{code}
protected boolean closeRegion(HRegionInfo region, final boolean abort,
final boolean zk) {
try {
return closeRegion(region, abort, zk, -1, null);
} catch (RegionAlreadyInTransitionException e) {
return false; // The region was already in transition for opening
}
{code}
One closeRegion throws, and the other returns false, to indicate the same
condition. Is this intended?
{code}
}catch (RuntimeException t){
{code}
What is the RuntimeException here?
{code}
* @param expectedVersion expecpted version og the znode
{code}
"of", "expected"
> Add extra test cases for assignement on the region server and fix the related
> issues
> ------------------------------------------------------------------------------------
>
> Key: HBASE-7390
> URL: https://issues.apache.org/jira/browse/HBASE-7390
> Project: HBase
> Issue Type: Bug
> Components: Region Assignment, regionserver
> Affects Versions: 0.96.0
> Reporter: nkeywal
> Assignee: nkeywal
> Fix For: 0.96.0
>
> Attachments: 7390.v1.patch, 7390.v2.patch, 7390.v3.patch,
> assignment_zk_states.jpg
>
>
> We don't have a lot of tests on the region server itself.
> Here are some.
> Some of them are failing, feedback welcome.
> See as well the attached state diagram for the ZK nodes on assignment.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira