You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Bikas Saha (JIRA)" <ji...@apache.org> on 2014/10/28 22:37:34 UTC

[jira] [Created] (TEZ-1714) Locking issue with StateChangeNotifier

Bikas Saha created TEZ-1714:
-------------------------------

             Summary: Locking issue with StateChangeNotifier
                 Key: TEZ-1714
                 URL: https://issues.apache.org/jira/browse/TEZ-1714
             Project: Apache Tez
          Issue Type: Bug
    Affects Versions: 0.5.1
            Reporter: Bikas Saha
            Priority: Critical


The StateChangeNotifier takes a read lock and notifies listeners using a direct method call. This notification could lead to the listener being complete. At this point, it may decide to unregister from further status updates and this should be allowed. However unregister tries to take a write lock on the StateChangeNotifier and the result is a deadlock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)