helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HELIX-131) Connection timeout not set while connecting to zookeeper via zkHelixAdmin
Date Tue, 25 Jun 2013 21:03:19 GMT

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

Hudson commented on HELIX-131:
------------------------------

Integrated in helix #962 (See [https://builds.apache.org/job/helix/962/])
    https://issues.apache.org/jira/browse/HELIX-131 (Revision bf7a6583e2609dc2ac8901937befc5d5629ffdca)

     Result = UNSTABLE
lushi04 : 
Files : 
* helix-core/src/main/java/org/apache/helix/manager/zk/ZKHelixAdmin.java
* helix-core/src/test/java/org/apache/helix/tools/TestClusterSetup.java

                
> Connection timeout not set while connecting to zookeeper via zkHelixAdmin
> -------------------------------------------------------------------------
>
>                 Key: HELIX-131
>                 URL: https://issues.apache.org/jira/browse/HELIX-131
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>    Affects Versions: 0.6.1-incubating
>         Environment: linux
>            Reporter: Lance Co Ting Keh
>              Labels: ZkHelixAdmin
>
> When passing in a Zookeeper address upon instantiation of ZkHelixAdmin, a timeout is
not set, and hence an invalid zookeeper address causes it to keep retrying indefinitely. As
per discussion with Kishore, the fix is:
> Fix is to change line 99 in ZkHelixAdmin.java   _zkClient = new ZkClient(zkAddress);
to  _zkClient = new ZkClient(zkAddress, timeout* 1000);
> Thank you

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

Mime
View raw message