joonaspessi opened a new pull request, #2467:
URL: https://github.com/apache/sedona/pull/2467

   ## Did you read the Contributor Guide?
   
   - Yes, I have read the [Contributor 
Rules](https://sedona.apache.org/latest/community/rule/) and [Contributor 
Development Guide](https://sedona.apache.org/latest/community/develop/)
   
   ## Is this PR related to a ticket?
   
   - Yes, and the PR name follows the format `[GH-XXX] my subject`. Closes 
#<issue_number>
   
   ## What changes were proposed in this PR?
   
   Spark 3.x is currently including log4j2 version `2.20.0`, that can cause 
deadlock on Spark executor initialization.
   This PR removes logger initialization from Kryo registrators to mitigate 
possible risk of deadlock. The downside is that there's no easy way to debug 
anymore Kryo registration, but this downside should be still acceptable than 
using Classes that are not thread safe and potentially cause Deadlock in Spark 
executor initialization..
   
   For further information about the deadlock see 
https://github.com/apache/sedona/issues/2465
   
   ## How was this patch tested?
   
   Code complies, tests pass and  pre-commit passes.
   
   ## Did this PR include necessary documentation updates?
   
   - No, this PR does not affect any public API so no need to change the 
documentation.
   


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

Reply via email to