You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2020/09/25 17:15:00 UTC

[jira] [Commented] (SPARK-32996) Handle Option.empty v1.ExecutorSummary#peakMemoryMetrics

    [ https://issues.apache.org/jira/browse/SPARK-32996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17202316#comment-17202316 ] 

Apache Spark commented on SPARK-32996:
--------------------------------------

User 'shrutig' has created a pull request for this issue:
https://github.com/apache/spark/pull/29872

> Handle Option.empty v1.ExecutorSummary#peakMemoryMetrics
> --------------------------------------------------------
>
>                 Key: SPARK-32996
>                 URL: https://issues.apache.org/jira/browse/SPARK-32996
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 3.1.0
>            Reporter: Shruti Gumma
>            Assignee: Apache Spark
>            Priority: Major
>
> When {{peakMemoryMetrics}} in {{ExecutorSummary}} is {{Option.empty}}, then the {{ExecutorMetricsJsonSerializer#serialize}} method does not execute the {{jsonGenerator.writeObject}} method. This causes the json to be generated with {{peakMemoryMetrics}} key added to the serialized string, but no corresponding value.
> This causes an error to be thrown when it is the next key {{attributes}} turn to be added to the json:
> {{com.fasterxml.jackson.core.JsonGenerationException: Can not write a field name, expecting a value.}}
> {{}}
> {{}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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