hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r528230 - in /lucene/hadoop/trunk: CHANGES.txt src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java src/test/testjar/ClassWordCount.java src/test/testjar/ExternalMapperReducer.java src/test/testjar/ExternalWritable.java
Date Thu, 12 Apr 2007 20:57:40 GMT
Author: cutting
Date: Thu Apr 12 13:57:39 2007
New Revision: 528230

URL: http://svn.apache.org/viewvc?view=rev&rev=528230
Log:
HADOOP-1239.  Add a package name to some testjar test classes.  Contributed by Jim Kellerman.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java
    lucene/hadoop/trunk/src/test/testjar/ClassWordCount.java
    lucene/hadoop/trunk/src/test/testjar/ExternalMapperReducer.java
    lucene/hadoop/trunk/src/test/testjar/ExternalWritable.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=528230&r1=528229&r2=528230
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu Apr 12 13:57:39 2007
@@ -184,6 +184,9 @@
     sometimes erased before they were reported written.
     (Dhruba Borthakur via cutting)
 
+56. HADOOP-1239.  Add a package name to some testjar test classes.
+    (Jim Kellerman via cutting)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java?view=diff&rev=528230&r1=528229&r2=528230
==============================================================================
--- lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java (original)
+++ lucene/hadoop/trunk/src/test/org/apache/hadoop/mapred/TestMiniMRClasspath.java Thu Apr
12 13:57:39 2007
@@ -63,9 +63,9 @@
     // the values are counts (ints)
     conf.setOutputValueClass(IntWritable.class);
     
-    conf.set("mapred.mapper.class", "ClassWordCount$MapClass");        
-    conf.set("mapred.combine.class", "ClassWordCount$Reduce");
-    conf.set("mapred.reducer.class", "ClassWordCount$Reduce");
+    conf.set("mapred.mapper.class", "testjar.ClassWordCount$MapClass");        
+    conf.set("mapred.combine.class", "testjar.ClassWordCount$Reduce");
+    conf.set("mapred.reducer.class", "testjar.ClassWordCount$Reduce");
     conf.setInputPath(inDir);
     conf.setOutputPath(outDir);
     conf.setNumMapTasks(numMaps);
@@ -116,15 +116,15 @@
     // the keys are counts
     conf.setOutputValueClass(IntWritable.class);
     // the values are the messages
-    conf.set("mapred.output.key.class", "ExternalWritable");
+    conf.set("mapred.output.key.class", "testjar.ExternalWritable");
 
     conf.setInputPath(inDir);
     conf.setOutputPath(outDir);
     conf.setNumMapTasks(numMaps);
     conf.setNumReduceTasks(numReduces);
     
-    conf.set("mapred.mapper.class", "ExternalMapperReducer"); 
-    conf.set("mapred.reducer.class", "ExternalMapperReducer");
+    conf.set("mapred.mapper.class", "testjar.ExternalMapperReducer"); 
+    conf.set("mapred.reducer.class", "testjar.ExternalMapperReducer");
 
     //pass a job.jar already included in the hadoop build
     conf.setJar("build/test/testjar/testjob.jar");

Modified: lucene/hadoop/trunk/src/test/testjar/ClassWordCount.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/testjar/ClassWordCount.java?view=diff&rev=528230&r1=528229&r2=528230
==============================================================================
--- lucene/hadoop/trunk/src/test/testjar/ClassWordCount.java (original)
+++ lucene/hadoop/trunk/src/test/testjar/ClassWordCount.java Thu Apr 12 13:57:39 2007
@@ -16,6 +16,7 @@
  * limitations under the License.
  */
 
+package testjar;
 
 import java.io.*;
 import java.util.*;

Modified: lucene/hadoop/trunk/src/test/testjar/ExternalMapperReducer.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/testjar/ExternalMapperReducer.java?view=diff&rev=528230&r1=528229&r2=528230
==============================================================================
--- lucene/hadoop/trunk/src/test/testjar/ExternalMapperReducer.java (original)
+++ lucene/hadoop/trunk/src/test/testjar/ExternalMapperReducer.java Thu Apr 12 13:57:39 2007
@@ -1,3 +1,5 @@
+package testjar;
+
 import java.io.IOException;
 import java.util.Iterator;
 

Modified: lucene/hadoop/trunk/src/test/testjar/ExternalWritable.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/test/testjar/ExternalWritable.java?view=diff&rev=528230&r1=528229&r2=528230
==============================================================================
--- lucene/hadoop/trunk/src/test/testjar/ExternalWritable.java (original)
+++ lucene/hadoop/trunk/src/test/testjar/ExternalWritable.java Thu Apr 12 13:57:39 2007
@@ -1,3 +1,5 @@
+package testjar;
+
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;



Mime
View raw message