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

Ashish Singhi commented on HBASE-13659:
---------------------------------------

Thanks [~ndimiduk] for looking into this.
{{testShutdownHandling}} was failing because as you said [here| 
https://issues.apache.org/jira/browse/HBASE-13659?focusedCommentId=14590196&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14590196].
 But then checked why we have only 2 online RS in the cluster ? I found that in 
{{testShutdownOfReplicaHolder}} we are killing a RS but not starting it back. 
So now we are left with only 2 RS online in the cluster but master will keep on 
wait for 3(minimum) RS to become online.
Attached patch for branch-1.1.
But looks like it is not failing in master branch but better we can commit the 
same branch-1.1 patch in master branch also.

Please review.

> Improve test run time for TestMetaWithReplicas class
> ----------------------------------------------------
>
>                 Key: HBASE-13659
>                 URL: https://issues.apache.org/jira/browse/HBASE-13659
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>    Affects Versions: 1.1.0
>            Reporter: Ashish Singhi
>            Assignee: Ashish Singhi
>             Fix For: 2.0.0, 1.2.0, 1.1.2, 1.3.0
>
>         Attachments: HBASE-13659-branch-1.1.patch, HBASE-13659.patch, 
> org.apache.hadoop.hbase.client.TestMetaWithReplicas-output.txt
>
>
> In TestMetaWithReplicas, start and shutdown of mini cluster is done at start 
> and end of every test in that class respectively, which makes the test class 
> to take more time to complete. Instead we can start and stop the mini cluster 
> only once per the class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to