[ 
https://issues.apache.org/jira/browse/SPARK-16708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hong Shen updated SPARK-16708:
------------------------------
    Description: 
When a task fetch failed, the stage will complete and retry, when the stage 
complete, 
 if (stageIdToNumTasks.isEmpty) {
          allocationManager.onSchedulerQueueEmpty()
          if (numRunningTasks != 0) {
            logWarning("No stages are running, but numRunningTasks != 0")
            numRunningTasks = 0
          }
        }

> ExecutorAllocationManager.numRunningTasks can be negative when stage retry
> --------------------------------------------------------------------------
>
>                 Key: SPARK-16708
>                 URL: https://issues.apache.org/jira/browse/SPARK-16708
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Hong Shen
>
> When a task fetch failed, the stage will complete and retry, when the stage 
> complete, 
>  if (stageIdToNumTasks.isEmpty) {
>           allocationManager.onSchedulerQueueEmpty()
>           if (numRunningTasks != 0) {
>             logWarning("No stages are running, but numRunningTasks != 0")
>             numRunningTasks = 0
>           }
>         }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to