helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kishore gopalakrishna (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (HELIX-55) Session timeout setting not honoured
Date Tue, 19 Mar 2013 20:49:16 GMT

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

kishore gopalakrishna reassigned HELIX-55:
------------------------------------------

    Assignee: kishore gopalakrishna
    
> Session timeout setting not honoured
> ------------------------------------
>
>                 Key: HELIX-55
>                 URL: https://issues.apache.org/jira/browse/HELIX-55
>             Project: Apache Helix
>          Issue Type: Bug
>          Components: helix-core
>    Affects Versions: 0.6.1-incubating
>            Reporter: kishore gopalakrishna
>            Assignee: kishore gopalakrishna
>             Fix For: 0.6.1-incubating
>
>
> I've tried setting zk.session.timeout property from my participants but I don't think
it's working.
> Looking at org.apache.helix.manager.zk.ZKHelixManager line 155, it seems the session
timeout is made same value as helixmanager.flappingTimeWindow.
> That looks like a bug since these two values are for different purposes.
> As a temporary workaround, this is a hack that works
>             manager = HelixManagerFactory.getZKHelixManager(CLUSTER_NAME, instanceName,
InstanceType.PARTICIPANT, ZK_ADDRESS);
>             {
>                 //hack to set sessionTimeout
>                 Field sessionTimeout = ZKHelixManager.class.getDeclaredField("_sessionTimeout");
>                 sessionTimeout.setAccessible(true);
>                 sessionTimeout.setInt(manager, 1000);
>             }
> Also on the Zookeeper side I made the tickTime =500 and minSessionTimeout = 1000.

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