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 HDFS-4074. Remove the unused default constructor from INode. (Brandon Li
via szetszwo) via szetszwo)
HDFS-4053. Increase the default block size. (eli)
OPTIMIZATIONS OPTIMIZATIONS
BUG FIXES BUG FIXES

View File

@ -31,7 +31,7 @@
public class DFSConfigKeys extends CommonConfigurationKeys { public class DFSConfigKeys extends CommonConfigurationKeys {
public static final String DFS_BLOCK_SIZE_KEY = "dfs.blocksize"; 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 String DFS_REPLICATION_KEY = "dfs.replication";
public static final short DFS_REPLICATION_DEFAULT = 3; public static final short DFS_REPLICATION_DEFAULT = 3;
public static final String DFS_STREAM_BUFFER_SIZE_KEY = "dfs.stream-buffer-size"; public static final String DFS_STREAM_BUFFER_SIZE_KEY = "dfs.stream-buffer-size";

View File

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