Skip to content

Commit

Permalink
[HUDI-4780] hoodie.logfile.max.size It does not take effect, causing …
Browse files Browse the repository at this point in the history
…the log file to be too large (apache#6602)

* hoodie.logfile.max.size It does not take effect, causing the log file to be too large

Co-authored-by: [email protected] <loukey_7821>
(cherry picked from commit 851c6e1)
  • Loading branch information
loukey-lj authored and neverdizzy committed Dec 1, 2022
1 parent 6217d8a commit 4134f65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class SizeAwareFSDataOutputStream extends FSDataOutputStream {

public SizeAwareFSDataOutputStream(Path path, FSDataOutputStream out, ConsistencyGuard consistencyGuard,
Runnable closeCallback) throws IOException {
super(out, null);
super(out, null, out.getPos());
this.path = path;
this.closeCallback = closeCallback;
this.consistencyGuard = consistencyGuard;
Expand Down

0 comments on commit 4134f65

Please sign in to comment.