HDFS-4053. Increase the default block size. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1399908 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-10-18 22:56:30 +00:00
parent 53c598ab11
commit 7da5d03c35
3 changed files with 4 additions and 2 deletions

View File

@ -403,6 +403,8 @@ Release 2.0.3-alpha - Unreleased
HDFS-4074. Remove the unused default constructor from INode. (Brandon Li
via szetszwo)
HDFS-4053. Increase the default block size. (eli)
OPTIMIZATIONS
BUG FIXES

View File

@ -31,7 +31,7 @@ import org.apache.hadoop.fs.CommonConfigurationKeys;
public class DFSConfigKeys extends CommonConfigurationKeys {
public static final String DFS_BLOCK_SIZE_KEY = "dfs.blocksize";
public static final long DFS_BLOCK_SIZE_DEFAULT = 64*1024*1024;
public static final long DFS_BLOCK_SIZE_DEFAULT = 128*1024*1024;
public static final String DFS_REPLICATION_KEY = "dfs.replication";
public static final short DFS_REPLICATION_DEFAULT = 3;
public static final String DFS_STREAM_BUFFER_SIZE_KEY = "dfs.stream-buffer-size";

View File

@ -358,7 +358,7 @@
<property>
<name>dfs.blocksize</name>
<value>67108864</value>
<value>134217728</value>
<description>
The default block size for new files, in bytes.
You can use the following suffix (case insensitive):