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

wuyi updated SPARK-39957:
-------------------------
    Fix Version/s: 3.4.0

> Delay onDisconnected to enable Driver receives ExecutorExitCode
> ---------------------------------------------------------------
>
>                 Key: SPARK-39957
>                 URL: https://issues.apache.org/jira/browse/SPARK-39957
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.4.0
>            Reporter: Kai-Hsun Chen
>            Assignee: Kai-Hsun Chen
>            Priority: Major
>             Fix For: 3.4.0
>
>
> There are two methods to detect executor loss. First, when RPC fails, the 
> function {{onDisconnected}} will be triggered. Second, when executor exits 
> with ExecutorExitCode, the exit code will be passed from ExecutorRunner to 
> Driver. These two methods may categorize same cases into different 
> conclusions. We hope to categorize the ExecutorLossReason by 
> ExecutorExitCode. This PR aims to make sure Driver receives ExecutorExitCode 
> before onDisconnected is called.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to