Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.2.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      jcarder identified this deadlock in branch-1 (though it may also be present in trunk):

      • Counters.size() is synchronized and locks Counters before Group
      • Counters.Group.getCounterForName() is synchronized and calls through to Counters.size()

      This creates a potential cycle which could cause a deadlock (though probably quite rare in practice)

        Attachments

        1. MAPREDUCE-4359.patch
          2 kB
          Tom White
        2. 1_jcarder_result_0.dot.png
          32 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tomwhite Tom White
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: