You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nick Dimiduk (JIRA)" <ji...@apache.org> on 2015/07/02 02:59:04 UTC

[jira] [Commented] (HBASE-13659) Improve test run time for TestMetaWithReplicas class

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

Nick Dimiduk commented on HBASE-13659:
--------------------------------------

[~ashish singhi] I think your patch makes things better than they were, certainly the {{conf.setInt(ServerManager.WAIT_ON_REGIONSERVERS_MINTOSTART, 2);}} bit.

I'm seeing consistent failure at like 370 as well. Adding some extra logging,

{noformat}
2015-07-01 17:36:34,023 INFO  [main] client.TestMetaWithReplicas(350): testMetaAddressChange -- i think meta is on 10.0.0.110,59059,1435797366643
...
2015-07-01 17:36:35,686 INFO  [main] client.TestMetaWithReplicas(367): testMetaAddressChange -- sending move request of 1588230740 to 10.0.0.110,58926,1435797319567
2015-07-01 17:36:35,687 DEBUG [B.defaultRpcServer.handler=0,queue=0,port=59142] master.HMaster(1402): Skipping move of region hbase:meta,,1.1588230740 because region already assigned to the same server 10.0.0.110,58926,1435797319567.
{noformat}

In between here and there there's no mention of {{1588230740}}. This is failing consistently for me locally.

No comment here [~devaraj], [~enis]?

> 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-v1.patch, 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)