chong0929 opened a new pull request, #344:
URL: https://github.com/apache/incubator-uniffle/pull/344

   ### What changes were proposed in this pull request?
   Spark have multiple serializers. We support the spark serializer which 
supportsRelocationOfSerializedObjects.
   You can see 
https://github.com/apache/spark/blob/25849684b78cca6651e25d6efc9644a576e7e20f/core/src/main/scala/org/apache/spark/serializer/Serializer.scala#L98
   
   Spark have three kinds of serializer
   org.apache.spark.serializer.JavaSerializer
   org.apache.spark.sql.execution.UnsafeRowSerializer
   org.apache.spark.serializer.KryoSerializer
   Only org.apache.spark.serializer.JavaSerializer don't support 
RelocationOfSerializedObjects.
   
   
   ### Why are the changes needed?
   So when we find the parameters to use 
org.apache.spark.serializer.JavaSerializer, We should throw an exception.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   test locally
   


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