You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Shanthoosh Venkataraman (JIRA)" <ji...@apache.org> on 2017/07/19 21:39:00 UTC

[jira] [Created] (SAMZA-1365) Calling zkClient.close in zkWatch implementation blocks it indefinitely

Shanthoosh Venkataraman created SAMZA-1365:
----------------------------------------------

             Summary: 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)