hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1196356 - in /hadoop/common/trunk/hadoop-mapreduce-project: CHANGES.txt src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java
Date Tue, 01 Nov 2011 23:07:56 GMT
Author: mahadev
Date: Tue Nov  1 23:07:56 2011
New Revision: 1196356

URL: http://svn.apache.org/viewvc?rev=1196356&view=rev
Log:
MAPREDUCE-3332. contrib/raid compile breaks due to changes in hdfs/protocol/datatransfer/Sender#writeBlock
related to checksum handling (Hitesh Shah via mahadev)

Modified:
    hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
    hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java

Modified: hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt?rev=1196356&r1=1196355&r2=1196356&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt Tue Nov  1 23:07:56 2011
@@ -1909,6 +1909,9 @@ Release 0.23.0 - 2011-11-01 
     MAPREDUCE-3317. Rumen TraceBuilder is emiting null as hostname.
     (Ravi Gummadi via mahadev)
 
+    MAPREDUCE-3332. contrib/raid compile breaks due to changes in hdfs/protocol/datatransfer/
+    Sender#writeBlock related to checksum handling (Hitesh Shah via mahadev)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java?rev=1196356&r1=1196355&r2=1196356&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java
(original)
+++ hadoop/common/trunk/hadoop-mapreduce-project/src/contrib/raid/src/java/org/apache/hadoop/raid/BlockFixer.java
Tue Nov  1 23:07:56 2011
@@ -782,7 +782,7 @@ public abstract class BlockFixer extends
         DatanodeInfo[] nodes = new DatanodeInfo[]{datanode};
         new Sender(out).writeBlock(block.getBlock(), block.getBlockToken(), "",
             nodes, null, BlockConstructionStage.PIPELINE_SETUP_CREATE,
-            1, 0L, blockSize, 0L);
+            1, 0L, blockSize, 0L, DataChecksum.newDataChecksum(metadataIn));
         blockSender.sendBlock(out, baseStream);
         
         LOG.info("Sent block " + block.getBlock() + " to " + datanode.name);



Mime
View raw message