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

Revisit implementation of LocalitySchedulingPlacementSet to avoid invoke methods of AppSchedulingInfo

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: scheduler
    • Labels:
      None
    • Target Version/s:

      Description

      An example is, LocalitySchedulingPlacementSet#decrementOutstanding: it calls appSchedulingInfo directly, which could potentially cause trouble since it tries to modify parent from child. Is it possible to move this logic to AppSchedulingInfo#allocate.

      Need to check other methods as well.

        Attachments

          Activity

            People

            • Assignee:
              leftnoteasy Wangda Tan
              Reporter:
              leftnoteasy Wangda Tan
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: