hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r787803 - in /hadoop/mapreduce/trunk: CHANGES.txt src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java
Date Tue, 23 Jun 2009 19:51:46 GMT
Author: tomwhite
Date: Tue Jun 23 19:51:45 2009
New Revision: 787803

URL: http://svn.apache.org/viewvc?rev=787803&view=rev
Log:
HADOOP-5967. Sqoop should only use a single map task. Contributed by Aaron Kimball.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=787803&r1=787802&r2=787803&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Tue Jun 23 19:51:45 2009
@@ -9,6 +9,9 @@
 
   IMPROVEMENTS
 
+    HADOOP-5967. Sqoop should only use a single map task. (Aaron Kimball via
+    tomwhite)
+
   BUG FIXES
     HADOOP-4687. MapReduce is split from Hadoop Core. It is a subproject under 
     Hadoop (Owen O'Malley)

Modified: hadoop/mapreduce/trunk/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java?rev=787803&r1=787802&r2=787803&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/sqoop/src/java/org/apache/hadoop/sqoop/mapred/ImportJob.java
Tue Jun 23 19:51:45 2009
@@ -110,6 +110,7 @@
       }
 
       job.setNumReduceTasks(0);
+      job.setNumMapTasks(1);
       job.setInputFormat(DBInputFormat.class);
 
       FileOutputFormat.setOutputPath(job, outputPath);



Mime
View raw message