Uploaded image for project: 'Apache Tez'
  1. Apache Tez
  2. TEZ-1714

Locking issue with StateChangeNotifier

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bikassaha Bikas Saha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: