You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2024/09/05 00:13:00 UTC
[jira] [Resolved] (SPARK-49478) Handle null metrics in ConnectProgressExecutionListenerSuite
[ https://issues.apache.org/jira/browse/SPARK-49478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-49478.
----------------------------------
Fix Version/s: 4.0.0
Resolution: Fixed
Issue resolved by pull request 47944
[https://github.com/apache/spark/pull/47944]
> Handle null metrics in ConnectProgressExecutionListenerSuite
> ------------------------------------------------------------
>
> Key: SPARK-49478
> URL: https://issues.apache.org/jira/browse/SPARK-49478
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 3.5.0
> Reporter: Davin Tjong
> Assignee: Davin Tjong
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> On task end, `TaskMetrics` may be `null`, as in the case of task failure (see [here|https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/scheduler/SparkListener.scala#L83]).
> We should not throw an NPE in this case and instead handle gracefully.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org