TheR1sing3un commented on code in PR #12389:
URL: https://github.com/apache/hudi/pull/12389#discussion_r1884977857


##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/client/functional/TestConsistentBucketIndex.java:
##########
@@ -255,7 +256,7 @@ private int readRecordsNum(String[] partitions, boolean 
populateMetaFields) {
    */
   private List<WriteStatus> writeData(String commitTime, int totalRecords, 
boolean doCommit) {
     List<HoodieRecord> records = dataGen.generateInserts(commitTime, 
totalRecords);
-    JavaRDD<HoodieRecord> writeRecords = jsc.parallelize(records, 2);
+    JavaRDD<HoodieRecord> writeRecords = jsc.parallelize(records, 1);

Review Comment:
   > why change the parallelism?
   
   To pass ut. 
   
   > is it because the metadata file creation conflicts?
   
   Yes, Because local fs does not create temporary files, it accesses the 
intermediate state when concurrently reading/creating metadata files.



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