You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michi Mutsuzaki (JIRA)" <ji...@apache.org> on 2014/03/11 23:39:44 UTC

[jira] [Commented] (ZOOKEEPER-1891) StaticHostProviderTest.testUpdateLoadBalancing times out

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

Michi Mutsuzaki commented on ZOOKEEPER-1891:
--------------------------------------------

Ok, I think I know what's going on. StaticHostProvider.resolveAndShuffle() calls InetAddress.getHostName() on IP addresses like 10.10.10.10, and it takes a long time on my box.

> StaticHostProviderTest.testUpdateLoadBalancing times out
> --------------------------------------------------------
>
>                 Key: ZOOKEEPER-1891
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1891
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.5.0
>         Environment: ubuntu 13.10
> Server environment:java.version=1.7.0_51
> Server environment:java.vendor=Oracle Corporation
>            Reporter: Michi Mutsuzaki
>             Fix For: 3.5.0
>
>         Attachments: StaticHostProviderTest.log
>
>
> StaticHostProviderTest.testUpdateLoadBalancing is consistently timing out on my box. I'll attach a log file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)