danny0405 commented on code in PR #12426:
URL: https://github.com/apache/hudi/pull/12426#discussion_r1870551842
##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/table/SparkBroadcastManager.java:
##########
@@ -81,7 +82,20 @@ public void prepareAndBroadcast() {
// Do broadcast.
sqlConfBroadcast = jsc.broadcast(sqlConf);
- configurationBroadcast = jsc.broadcast(new
SerializableConfiguration(jsc.hadoopConfiguration()));
+ // new Configuration() is critical so that we don't run into
ConcurrentModificatonException
Review Comment:
Can we abstract some utility method for such config fixes?
--
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]