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

Himanshu Vashishtha commented on HBASE-8106:
--------------------------------------------

Thanks for the review Lars.
I tried to create a more "realistic" scenario where three regionservers are 
trying to move the znodes. 
If we keep the hostname same, then also the test will pass. But, the exception 
will be different: it will be a "NodeExists" exception because all the 
nodefailoverworkers will try to create same set of znodes in the target. 
Rather, if we keep them separate, then we get NoNodeException, indicating that 
the log znode which NodeFailoverworker is trying to copy/move no longer exists 
at the source(as it is already moved by some other regionserver). Please let me 
know if you still need the same hosts.
                
> Test to check replication log znodes move is done correctly
> -----------------------------------------------------------
>
>                 Key: HBASE-8106
>                 URL: https://issues.apache.org/jira/browse/HBASE-8106
>             Project: HBase
>          Issue Type: Test
>          Components: Replication
>    Affects Versions: 0.94.5
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>             Fix For: 0.94.7
>
>         Attachments: HBase-8106-trunk.patch
>
>
> ReplicationZookeeper#copyQueuesFromRSUsingMulti moves the znodes under a 
> regionserver failover environment. This jira is to add that the move is done 
> correctly.

--
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

Reply via email to