cloud-fan commented on issue #26975: [SPARK-30325][CORE] Stage retry and 
executor crash cause app hung up forever
URL: https://github.com/apache/spark/pull/26975#issuecomment-568672632
 
 
   I think the direct problem is, the task status is inconsistent: a task can 
satisfy both `successful(task.index)` and `task.running`. Such tasks will be 
handled twice in `executorLost` and mess up the internal status.
   
   A simple fix can be: change `task.running` to `!successful(task.index) && 
task.running` in `executorLost`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to