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

Handle Option.empty v1.ExecutorSummary#peakMemoryMetrics

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.1, 3.1.0
    • Fix Version/s: 3.0.2, 3.1.0
    • Component/s: Web UI
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: