Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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)

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

        Activity

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development