XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: capacity scheduler
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Queue Management API - does not support parallel updates. When there are two parallel schedule conf updates (logAndApplyMutation), the first update is overwritten by the second one.

      Currently the logAndApplyMutation creates LogMutation and stores it in a variable pendingMutation. This way at any given time there will be only one LogMutation. And so the two parallel logAndApplyMutation will override the pendingMutation and the later one only will be present.

      The fix is to return LogMutation object by logAndApplyMutation which can be passed during confirmMutation. This fixes the parallel updates.

        Attachments

        1. YARN-9788-001.patch
          37 kB
          Prabhu Joseph
        2. YARN-9788-002.patch
          35 kB
          Prabhu Joseph
        3. YARN-9788-003.patch
          38 kB
          Prabhu Joseph
        4. YARN-9788-004.patch
          38 kB
          Prabhu Joseph
        5. YARN-9788-005.patch
          40 kB
          Prabhu Joseph
        6. YARN-9788-006.patch
          40 kB
          Prabhu Joseph
        7. YARN-9788-007.patch
          40 kB
          Prabhu Joseph
        8. YARN-9788-008.patch
          40 kB
          Prabhu Joseph
        9. YARN-9788-009.patch
          41 kB
          Prabhu Joseph
        10. YARN-9788-010.patch
          41 kB
          Prabhu Joseph
        11. YARN-9788-011.patch
          41 kB
          Prabhu Joseph

          Activity

            People

            • Assignee:
              prabhujoseph Prabhu Joseph
              Reporter:
              prabhujoseph Prabhu Joseph
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: