guanziyue commented on a change in pull request #4264:
URL: https://github.com/apache/hudi/pull/4264#discussion_r825469618
##########
File path:
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/storage/HoodieParquetWriter.java
##########
@@ -84,7 +84,7 @@ public HoodieParquetWriter(String instantTime,
}
@Override
- public void writeAvroWithMetadata(R avroRecord, HoodieRecord record) throws
IOException {
+ public synchronized void writeAvroWithMetadata(R avroRecord, HoodieRecord
record) throws IOException {
Review comment:
Have removed the lock and use another way to guarantee parquet wrtier is
used in a thread safe way
--
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]