hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r668396 - in /hadoop/core/trunk: CHANGES.txt src/tools/org/apache/hadoop/tools/HadoopArchives.java
Date Tue, 17 Jun 2008 05:11:47 GMT
Author: ddas
Date: Mon Jun 16 22:11:47 2008
New Revision: 668396

URL: http://svn.apache.org/viewvc?rev=668396&view=rev
Log:
HADOOP-3560. Fixes a problem to do with split creation in archives. Contributed by Mahadev
Konar.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/tools/org/apache/hadoop/tools/HadoopArchives.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=668396&r1=668395&r2=668396&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Jun 16 22:11:47 2008
@@ -598,6 +598,9 @@
 
     HADOOP-3363. Fix unformatted storage detection in FSImage. (shv)
 
+    HADOOP-3560. Fixes a problem to do with split creation in archives.
+    (Mahadev Konar via ddas)
+
 Release 0.17.0 - 2008-05-18
 
   INCOMPATIBLE CHANGES

Modified: hadoop/core/trunk/src/tools/org/apache/hadoop/tools/HadoopArchives.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/tools/org/apache/hadoop/tools/HadoopArchives.java?rev=668396&r1=668395&r2=668396&view=diff
==============================================================================
--- hadoop/core/trunk/src/tools/org/apache/hadoop/tools/HadoopArchives.java (original)
+++ hadoop/core/trunk/src/tools/org/apache/hadoop/tools/HadoopArchives.java Mon Jun 16 22:11:47
2008
@@ -328,6 +328,7 @@
     try {
       // write the top level dirs in first 
       writeTopLevelDirs(srcWriter, srcPaths);
+      srcWriter.sync();
       // these are the input paths passed 
       // from the command line
       // we do a recursive ls on these paths 
@@ -356,6 +357,7 @@
           }
           srcWriter.append(new LongWritable(len), new 
               Text(toWrite));
+          srcWriter.sync();
           numFiles++;
           totalSize += len;
         }



Mime
View raw message