wForget opened a new pull request, #2793:
URL: https://github.com/apache/uniffle/pull/2793

   ### What changes were proposed in this pull request?
   
   Add no-argument constructors and JavaBean setters to Uniffle listener events 
and their nested metric/timing objects so Spark History Server can deserialize 
them.
   
   Make the relevant metric fields mutable while preserving existing 
constructors and JSON property names. Add serialization compatibility tests and 
align test-scoped Jackson dependencies with the selected Spark profile.
   
   ### Why are the changes needed?
   Opening an application's history page can fail with HTTP 500:
   
   ```text
   InvalidDefinitionException: Cannot construct instance of
   org.apache.spark.shuffle.events.ShuffleAssignmentInfoEvent
   (no Creators, like default constructor, exist)
   ```
   
   Older Jackson Scala modules inferred constructor parameter names for these 
Java classes. Newer versions restrict this behavior, leaving Uniffle events 
without a supported deserialization constructor.
   
   closes #2792 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   <!--
   (Please test your changes, and provide instructions on how to test it:
     1. If you add a feature or fix a bug, add a test to cover your changes. 
     2. If you fix a flaky test, repeat it for many times to prove it works.)
   -->
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to