hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hair...@apache.org
Subject svn commit: r820432 - in /hadoop/hdfs/branches/HDFS-265: CHANGES.txt src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
Date Wed, 30 Sep 2009 20:28:41 GMT
Author: hairong
Date: Wed Sep 30 20:28:41 2009
New Revision: 820432

URL: http://svn.apache.org/viewvc?rev=820432&view=rev
Log:
HDFS-665. TestFileAppend2 sometimes hangs. Contributed by Hairong Kuang.

Modified:
    hadoop/hdfs/branches/HDFS-265/CHANGES.txt
    hadoop/hdfs/branches/HDFS-265/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java

Modified: hadoop/hdfs/branches/HDFS-265/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hdfs/branches/HDFS-265/CHANGES.txt?rev=820432&r1=820431&r2=820432&view=diff
==============================================================================
--- hadoop/hdfs/branches/HDFS-265/CHANGES.txt (original)
+++ hadoop/hdfs/branches/HDFS-265/CHANGES.txt Wed Sep 30 20:28:41 2009
@@ -101,6 +101,8 @@
     HDFS-597. Mofication introduced by HDFS-537 breakes an advice binding in
     FSDatasetAspects.  (Konstantin Boudnik via szetszwo)
 
+    HDFS-665. TestFileAppend2 sometimes hangs. (hairong)
+
 Trunk (unreleased changes)
 
   INCOMPATIBLE CHANGES

Modified: hadoop/hdfs/branches/HDFS-265/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
URL: http://svn.apache.org/viewvc/hadoop/hdfs/branches/HDFS-265/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java?rev=820432&r1=820431&r2=820432&view=diff
==============================================================================
--- hadoop/hdfs/branches/HDFS-265/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
(original)
+++ hadoop/hdfs/branches/HDFS-265/src/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
Wed Sep 30 20:28:41 2009
@@ -355,7 +355,7 @@
 
       // update its generation stamp
       if (client.length() != 0 && 
-          stage != BlockConstructionStage.PIPELINE_SETUP_CREATE) {
+          stage == BlockConstructionStage.PIPELINE_CLOSE_RECOVERY) {
         block.setGenerationStamp(newGs);
         block.setNumBytes(minBytesRcvd);
       }



Mime
View raw message