squito commented on issue #24462: [SPARK-26268][CORE] Do not resubmit tasks 
when executors are lost
URL: https://github.com/apache/spark/pull/24462#issuecomment-511901893
 
 
   I took another look at @yifeih 's changes, and I think she's right, that 
will be sufficient.  Now you're custom shuffle manager should just return a 
`MapStatus` with `executorId == null`:
   
   
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1827
   
   
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/MapOutputTracker.scala#L126
   
   It seems like even now this would *almost* work, except that having a 
`execId == null` would mess up the epoch checks: 
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala#L1827
   
   Most importantly, we should just document the semantics of returning a null 
executorId in the MapStatus as part of the ShuffleManager contract.
   
   
   

----------------------------------------------------------------
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