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

Revisit implementation of LocalitySchedulingPlacementSet to avoid invoke methods of AppSchedulingInfo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • scheduler
    • None

    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

            leftnoteasy Wangda Tan
            leftnoteasy Wangda Tan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: