[ https://issues.apache.org/jira/browse/SPARK-23637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jin xing updated SPARK-23637: ----------------------------- 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. was: {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. > Yarn might allocate more resource if a same executor is killed multiple times. > ------------------------------------------------------------------------------ > > Key: SPARK-23637 > URL: https://issues.apache.org/jira/browse/SPARK-23637 > Project: Spark > Issue Type: Bug > Components: YARN > Affects Versions: 2.3.0 > Reporter: jin xing > Priority: Major > > {{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. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org