You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/09/07 03:09:17 UTC

[GitHub] [hudi] ymZhao1001 commented on a diff in pull request #6366: [HUDI-4794] add an option of the log file block size

ymZhao1001 commented on code in PR #6366:
URL: https://github.com/apache/hudi/pull/6366#discussion_r964340073


##########
hudi-common/src/main/java/org/apache/hudi/common/table/log/HoodieLogFormatWriter.java:
##########
@@ -230,8 +230,7 @@ private void rollOver() throws IOException {
   }
 
   private void createNewFile() throws IOException {
-    this.output =
-        fs.create(this.logFile.getPath(), false, bufferSize, replication, WriterBuilder.DEFAULT_SIZE_THRESHOLD, null);
+    this.output = fs.create(this.logFile.getPath(), false, bufferSize, replication, HoodieCommonConfig.LOG_FILE_BLOCK_SIZE.defaultValue(), null);

Review Comment:
   thanks, you are right。 modified



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org