Skip to content

Commit

Permalink
fix: 修正磁盘缓冲区的默认值为不限制
Browse files Browse the repository at this point in the history
  • Loading branch information
yuyang733 committed Aug 29, 2020
1 parent b74f37f commit ba43083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/apache/hadoop/fs/CosNConfigKeys.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class CosNConfigKeys extends CommonConfigurationKeys {

public static final String COSN_UPLOAD_BUFFER_SIZE_KEY = "fs.cosn.upload.buffer.size";
public static final String COSN_UPLOAD_BUFFER_SIZE_PREV_KEY = "fs.cosn.buffer.size";
public static final int DEFAULT_UPLOAD_BUFFER_SIZE = 134217728; // default is 128MB
public static final int DEFAULT_UPLOAD_BUFFER_SIZE = -1; // default is 128MB

public static final String COSN_BLOCK_SIZE_KEY = "fs.cosn.block.size";
public static final long DEFAULT_BLOCK_SIZE = 128 * Unit.MB;
Expand Down

0 comments on commit ba43083

Please sign in to comment.