AngersZhuuuu opened a new pull request, #52792: URL: https://github.com/apache/spark/pull/52792
### What changes were proposed in this pull request? <img width="1906" height="754" alt="image" src="https://github.com/user-attachments/assets/115cb0fc-0651-4fd7-8dea-6b5e571b926e" /> When not enable speculation ,executor launch task failed caused by OOM, <img width="1766" height="858" alt="image" src="https://github.com/user-attachments/assets/5b88e607-99a3-4276-82da-3549e4ca5002" /> DAGScheduler won't know task failed and won't scheduler again, causing application stuck <img width="3456" height="754" alt="image" src="https://github.com/user-attachments/assets/9669b88e-527b-4ec1-bb1d-724cfa858823" /> ### Why are the changes needed? Some case will causing application stuck missing SLA ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? MT Test code <img width="3022" height="1596" alt="image" src="https://github.com/user-attachments/assets/c51dd814-948c-4211-96b6-dd6edfe1d201" /> ``` import org.apache.spark.sql.functions.udf import java.util.concurrent.TimeUnit// 定义一个会sleep的UDF val sleepUdf = udf((value: String) => { TimeUnit.SECONDS.sleep(10) value }) val df = spark.range(0, 2500).repartition(25).withColumn("value", (col("id") % 10).cast("string")).withColumn("value", sleepUdf(col("value")))df.createOrReplaceTempView("test_table") val result = spark.sql("SELECT value, COUNT(*) as cnt FROM test_table GROUP BY value ORDER BY cnt DESC") result.show() ``` <img width="3456" height="964" alt="image" src="https://github.com/user-attachments/assets/90da4be3-5df1-47db-b896-99b9a6706d07" /> <img width="3456" height="406" alt="image" src="https://github.com/user-attachments/assets/438006f7-7211-433c-96ad-939f2590319a" /> ### Was this patch authored or co-authored using generative AI tooling? No -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
