You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Eric Yang (Jira)" <ji...@apache.org> on 2025/11/27 01:52:00 UTC
[jira] [Created] (SPARK-54533) Metric executorSource.METRIC_RESULT_SIZE is updated with uninitialized value
Eric Yang created SPARK-54533:
---------------------------------
Summary: Metric executorSource.METRIC_RESULT_SIZE is updated with uninitialized value
Key: SPARK-54533
URL: https://issues.apache.org/jira/browse/SPARK-54533
Project: Spark
Issue Type: Bug
Components: UI
Affects Versions: 4.0.0, 4.2.0
Reporter: Eric Yang
In TaskRunner.run, the metric `executorSource.METRIC_RESULT_SIZE` is updated with the value of `task.metrics.resultSize`, which hasn't been updated itself.
{code:java}
executorSource.METRIC_RESULT_SIZE.inc(task.metrics.resultSize) {code}
This makes this metric has zero value all the time.
It should be set to the `resultSize` which is populated later:
{code:java}
val resultSize = serializedDirectResult.size {code}
--
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