You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/03 21:33:01 UTC
[jira] [Commented] (SAMZA-1365) Calling zkClient.close in zkWatch
implementation blocks it indefinitely
[ https://issues.apache.org/jira/browse/SAMZA-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16113534#comment-16113534 ]
ASF GitHub Bot commented on SAMZA-1365:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/samza/pull/253
> Calling zkClient.close in zkWatch implementation blocks it indefinitely
> -----------------------------------------------------------------------
>
> Key: SAMZA-1365
> URL: https://issues.apache.org/jira/browse/SAMZA-1365
> Project: Samza
> Issue Type: Bug
> Reporter: Shanthoosh Venkataraman
> Assignee: Shanthoosh Venkataraman
> Fix For: 0.13.1
>
>
> We discovered that ZkClient.close blocks indefinitely if it’s invoked in ZkListener implementation directly.
> ZkClient.close acquires eventLock internally before trying to shutdown. Calling it in ZkListener(which holds this eventLock before invoking listeners) implementation causes zkClient.close to block indefinitely.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)