Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5436

Race in AsyncDispatcher can cause random test failures in Tez (probably YARN also)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In YARN-2264, a race in DrainDispatcher was fixed. Unfortunately, it also exists in AsyncDispatcher (this was found and ignored in YARN-3878 but never documented...). In YARN-2991, another DrainDispatcher bug was fixed by letting DrainDispatcher reuse some AsyncDispatcher method because AsyncDispatcher doesn't have such issue. However, this shadows YARN-2264, and now similar race reappears in Tez unit tests (probably also YARN unit tests also).

        Attachments

        1. YARN-5436.4.patch
          4 kB
          Zhiyuan Yang
        2. YARN-5436.3.patch
          3 kB
          Zhiyuan Yang
        3. YARN-5436.2.patch
          3 kB
          Zhiyuan Yang
        4. YARN-5436.1.patch
          4 kB
          Zhiyuan Yang

          Issue Links

            Activity

              People

              • Assignee:
                aplusplus Zhiyuan Yang
                Reporter:
                aplusplus Zhiyuan Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                11 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: