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

Fix StackOverflowError in SLS scheduler event handling

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • None
    • Reviewed

    Description

      YARN-10552 introduced changes that is resulting in a StackOverflowError.
      1. org.apache.hadoop.yarn.sls.scheduler.SLSCapacityScheduler#handle calls org.apache.hadoop.yarn.sls.scheduler.SLSSchedulerCommons#handle

      2. org.apache.hadoop.yarn.sls.scheduler.SLSSchedulerCommons#handle calls scheduler.handle again. The original code called super.handle()

      Note: I don't have an idea why the UT tests passed for YARN-10552.

      Attachments

        1. YARN-11100.001.patch
          4 kB
          Szilard Nemeth
        2. YARN-11100.002.patch
          5 kB
          Szilard Nemeth
        3. YARN-11100.003.patch
          8 kB
          Szilard Nemeth

        Activity

          People

            snemeth Szilard Nemeth
            snemeth Szilard Nemeth
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: