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

Incorrect executor request in case of dynamic allocation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.1.2, 2.2.1, 2.3.0
    • Scheduler, Spark Core
    • None

    Description

      killExecutor api currently does not allow killing an executor without updating the total number of executors needed. In case of dynamic allocation is turned on and the allocator tries to kill an executor, the scheduler reduces the total number of executors needed ( see https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/cluster/CoarseGrainedSchedulerBackend.scala#L635) which is incorrect because the allocator already takes care of setting the required number of executors itself.

      Attachments

        Issue Links

          Activity

            People

              sitalkedia@gmail.com Sital Kedia
              sitalkedia@gmail.com Sital Kedia
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: