jonvex opened a new pull request, #7367:
URL: https://github.com/apache/hudi/pull/7367

   ### Change Logs
   
   Changed delta sync and spark sql writer to catch HoodieExceptions and put 
them into a list if they occur. Then after all meta syncs finish, an exception 
is thrown if any of the meta syncs threw.
   
   I manually tested using a similar setup to 
   [Test 
Class](https://github.com/apache/hudi/blob/7e55d94620cffb2b4a9a5e8d7e4036b3125eaa58/hudi-utilities/src/test/java/org/apache/hudi/utilities/functional/TestHoodieDeltaStreamer.java)
   With example classes like
   [Example 
1](https://github.com/apache/hudi/blob/7e55d94620cffb2b4a9a5e8d7e4036b3125eaa58/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/MockHoodieHiveSyncTool1.java)
   [Example 
2](https://github.com/apache/hudi/blob/7e55d94620cffb2b4a9a5e8d7e4036b3125eaa58/hudi-sync/hudi-hive-sync/src/main/java/org/apache/hudi/hive/MockHoodieHiveSyncToolException.java)
   
   ### Impact
   
   If one meta sync fails, it won't cause others to fail.
   
   ### Risk level (write none, low medium or high below)
   
   low
   
   ### Documentation Update
   
   N/A
   
   ### Contributor's checklist
   
   - [ ] Read through [contributor's 
guide](https://hudi.apache.org/contribute/how-to-contribute)
   - [ ] Change Logs and Impact were stated clearly
   - [ ] Adequate tests were added if applicable
   - [ ] CI passed
   


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