Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-32996

Handle Option.empty v1.ExecutorSummary#peakMemoryMetrics

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.1, 3.1.0
    • 3.0.2, 3.1.0
    • Web UI
    • None

    Description

      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.

      {{}}

      {{}}

      Attachments

        Activity

          People

            shrutig Shruti Gumma
            shrutig Shruti Gumma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: