HeartSaVioR opened a new pull request #26397: [SPARK-29755][CORE] Provide 
@JsonDeserialize for Option[Long] in LogInfo & AttemptInfoWrapper
URL: https://github.com/apache/spark/pull/26397
 
 
   ### What changes were proposed in this pull request?
   
   This patch adds @JsonDeserialize annotation for the field which type is 
`Option[Long]` in LogInfo/AttemptInfoWrapper. It hits 
https://github.com/FasterXML/jackson-module-scala/wiki/FAQ#deserializing-optionint-and-other-primitive-challenges
 - other existing json models take care of this, but we missed to add 
annotation to these classes.
   
   ### Why are the changes needed?
   
   Without this change, SHS will throw ClassNotFoundException when rebuilding 
App UI.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Manually tested.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to