hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r1453709 - in /hadoop/common/branches/branch-1.1: ./ CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java
Date Thu, 07 Mar 2013 06:36:49 GMT
Author: szetszwo
Date: Thu Mar  7 06:36:49 2013
New Revision: 1453709

URL: http://svn.apache.org/r1453709
Log:
svn merge -c 1453706 from branch-1 for HDFS-4551. When copying bytes in DatanodeWebHdfsMethods
OPEN, use 4096 buffer size to improve performance.

Modified:
    hadoop/common/branches/branch-1.1/   (props changed)
    hadoop/common/branches/branch-1.1/CHANGES.txt   (contents, props changed)
    hadoop/common/branches/branch-1.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java

Propchange: hadoop/common/branches/branch-1.1/
------------------------------------------------------------------------------
  Merged /hadoop/common/branches/branch-1:r1453706

Modified: hadoop/common/branches/branch-1.1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.1/CHANGES.txt?rev=1453709&r1=1453708&r2=1453709&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1.1/CHANGES.txt Thu Mar  7 06:36:49 2013
@@ -20,6 +20,9 @@ Release 1.1.2 - 2013.01.30
     HADOOP-8567. Port conf servlet to dump running configuration to branch 1.x.
     (Jing Zhao via suresh)
 
+    HDFS-4551. When copying bytes in DatanodeWebHdfsMethods OPEN, use 4096 buffer size
+    to improve performance.  (Mark Wagner via szetszwo)
+
   BUG FIXES
 
     HADOOP-8419. Fixed GzipCode NPE reset for IBM JDK. (Yu Li via eyang)

Propchange: hadoop/common/branches/branch-1.1/CHANGES.txt
------------------------------------------------------------------------------
  Merged /hadoop/common/branches/branch-1/CHANGES.txt:r1453706

Modified: hadoop/common/branches/branch-1.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java?rev=1453709&r1=1453708&r2=1453709&view=diff
==============================================================================
--- hadoop/common/branches/branch-1.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java
(original)
+++ hadoop/common/branches/branch-1.1/src/hdfs/org/apache/hadoop/hdfs/server/datanode/web/resources/DatanodeWebHdfsMethods.java
Thu Mar  7 06:36:49 2013
@@ -350,9 +350,9 @@ public class DatanodeWebHdfsMethods {
           DFSClient client = dfsclient;
           try {
             if (n == null) {
-              IOUtils.copyBytes(dfsin, out, b);
+              IOUtils.copyBytes(dfsin, out, 4096);
             } else {
-              IOUtils.copyBytes(dfsin, out, n, b, false);
+              IOUtils.copyBytes(dfsin, out, n, 4096, false);
             }
             dfsin.close();
             dfsin = null;



Mime
View raw message