Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23637

Yarn might allocate more resource if a same executor is killed multiple times.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.3.1, 2.4.0
    • Spark Core, YARN
    • None

    Description

      YarnAllocator uses numExecutorsRunning to track the number of running executor. numExecutorsRunning is used to check if there're executors missing and need to allocate more.

       In current code, numExecutorsRunning can be negative when driver asks to kill a same idle executor multiple times.

      Attachments

        Activity

          People

            jinxing6042@126.com Jin Xing
            jinxing6042@126.com Jin Xing
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: