hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r620431 - in /hadoop/core/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/FSConstants.java
Date Mon, 11 Feb 2008 07:28:51 GMT
Author: dhruba
Date: Sun Feb 10 23:28:50 2008
New Revision: 620431

URL: http://svn.apache.org/viewvc?rev=620431&view=rev
Log:
HADOOP-2780. The default socket buffer size on DataNodes is 128K.


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=620431&r1=620430&r2=620431&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Sun Feb 10 23:28:50 2008
@@ -45,6 +45,9 @@
     dfs.umask to set the umask that is used by DFS.
     (Tsz Wo (Nicholas), SZE via dhruba)
 
+    HADOOP-2780. The default socket buffer size for DataNodes is 128K.
+    (dhruba)
+
 Release 0.16.0 - 2008-02-07
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java?rev=620431&r1=620430&r2=620431&view=diff
==============================================================================
--- hadoop/core/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java (original)
+++ hadoop/core/trunk/src/java/org/apache/hadoop/dfs/FSConstants.java Sun Feb 10 23:28:50
2008
@@ -142,7 +142,7 @@
   public static final int BUFFER_SIZE = new Configuration().getInt("io.file.buffer.size",
4096);
   //TODO mb@media-style.com: should be conf injected?
   public static final long DEFAULT_BLOCK_SIZE = 64 * 1024 * 1024;
-  public static final int DEFAULT_DATA_SOCKET_SIZE = 1024 * 1024;
+  public static final int DEFAULT_DATA_SOCKET_SIZE = 128 * 1024;
 
   public static final int SIZE_OF_INTEGER = Integer.SIZE / Byte.SIZE;
 



Mime
View raw message