You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by "Kanak Biscuitwala (JIRA)" <ji...@apache.org> on 2013/11/13 00:59:17 UTC

[jira] [Updated] (HELIX-131) Connection timeout not set while connecting to zookeeper via zkHelixAdmin

     [ https://issues.apache.org/jira/browse/HELIX-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kanak Biscuitwala updated HELIX-131:
------------------------------------

    Fix Version/s: 0.6.2-incubating

> 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
>             Fix For: 0.6.2-incubating
>
>
> 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 was sent by Atlassian JIRA
(v6.1#6144)