hadoop-common-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=668398&view=rev
Log:
HADOOP-3545. Fixes a overflow problem 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=668398&r1=668397&r2=668398&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Mon Jun 16 22:25:55 2008
@@ -601,6 +601,9 @@
     HADOOP-3560. Fixes a problem to do with split creation in archives.
     (Mahadev Konar via ddas)
 
+    HADOOP-3545. Fixes a overflow problem 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=668398&r1=668397&r2=668398&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:25:55
2008
@@ -59,6 +59,7 @@
 import org.apache.hadoop.util.Tool;
 import org.apache.hadoop.util.ToolRunner;
 
+
 /**
  * a archive creation utility.
  * This class provides methods that can be used 
@@ -78,7 +79,7 @@
   static final String DST_HAR_LABEL = NAME + ".archive.name";
   // size of each part file
   // its fixed for now.
-  static final long partSize = 2 * 1024 * 1024 * 1024;
+  static final long partSize = 2 * 1024 * 1024 * 1024l;
 
   private static final String usage = "archive"
   + " -archiveName NAME <src>* <dest>" +
@@ -91,7 +92,7 @@
     if (conf instanceof JobConf) {
       this.conf = (JobConf) conf;
     } else {
-      this.conf = new JobConf(conf);
+      this.conf = new JobConf(conf, HadoopArchives.class);
     }
   }
 



Mime
View raw message