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

Handle Option.empty v1.ExecutorSummary#peakMemoryMetrics

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete CommentsDelete
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment