Ngone51 opened a new pull request #28283:
URL: https://github.com/apache/spark/pull/28283


   ### What changes were proposed in this pull request?
   
   1. Combine  `BarrierRequestToSync` and `AllGatherRequestToSync` into 
`RequestToSync`, which is distinguished by `RequestMethod` type.
   
   2. Remove unnecessary Json serialization/deserialization
   
   3. Clean up some codes to make runBarrier() and `BarrierCoordinator` more 
general
   
   4. Remove unused imports.
   
   ### Why are the changes needed?
   
   To make codes simpler for better maintain in the future.
   
   ### Does this PR introduce any user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   This is pure code refactor, so should be covered by existed tests.


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



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

Reply via email to