hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r613030 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/io/WritableUtils.java
Date Fri, 18 Jan 2008 00:53:08 GMT
Author: omalley
Date: Thu Jan 17 16:53:07 2008
New Revision: 613030

URL: http://svn.apache.org/viewvc?rev=613030&view=rev
Log:
HADOOP-2469.  WritableUtils.clone should take Configuration instead of JobConf.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=613030&r1=613029&r2=613030&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Thu Jan 17 16:53:07 2008
@@ -270,6 +270,9 @@
     HADOOP-2509. Add Ant target for Rat report (Apache license header
     reports).  (Hrishikesh via nigel)
 
+    HADOOP-2469.  WritableUtils.clone should take a Configuration
+    instead of a JobConf. (stack via omalley)
+
   OPTIMIZATIONS
 
     HADOOP-1898.  Release the lock protecting the last time of the last stack

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java?rev=613030&r1=613029&r2=613030&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/io/WritableUtils.java Thu Jan 17 16:53:07
2008
@@ -20,7 +20,7 @@
 
 import java.io.*;
 
-import org.apache.hadoop.mapred.JobConf;
+import org.apache.hadoop.conf.Configuration;
 import org.apache.hadoop.util.ReflectionUtils;
 
 import java.util.zip.GZIPInputStream;
@@ -224,7 +224,7 @@
    * @param orig The object to copy
    * @return The copied object
    */
-  public static Writable clone(Writable orig, JobConf conf) {
+  public static Writable clone(Writable orig, Configuration conf) {
     try {
       Writable newInst =
         (Writable)ReflectionUtils.newInstance(orig.getClass(), conf);



Mime
View raw message