hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1150921 - in /hadoop/common/trunk/mapreduce: CHANGES.txt src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java
Date Mon, 25 Jul 2011 21:29:38 GMT
Author: todd
Date: Mon Jul 25 21:29:38 2011
New Revision: 1150921

URL: http://svn.apache.org/viewvc?rev=1150921&view=rev
Log:
MAPREDUCE-2622. Remove the last remaining reference to the deprecated configuration "io.sort.mb".
Contributed by Harsh J Chouraria.

Modified:
    hadoop/common/trunk/mapreduce/CHANGES.txt
    hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java

Modified: hadoop/common/trunk/mapreduce/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/mapreduce/CHANGES.txt?rev=1150921&r1=1150920&r2=1150921&view=diff
==============================================================================
--- hadoop/common/trunk/mapreduce/CHANGES.txt (original)
+++ hadoop/common/trunk/mapreduce/CHANGES.txt Mon Jul 25 21:29:38 2011
@@ -350,6 +350,9 @@ Trunk (unreleased changes)
     MAPREDUCE-2575. TestMiniMRDFSCaching fails if test.build.dir is set 
     to something other than build/test (Thomas Graves via mahadev)
 
+    MAPREDUCE-2622. Remove the last remaining reference to the deprecated
+    configuration "io.sort.mb". (Harsh J Chouraria via todd)
+
 Release 0.22.0 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java?rev=1150921&r1=1150920&r2=1150921&view=diff
==============================================================================
--- hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java
(original)
+++ hadoop/common/trunk/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java
Mon Jul 25 21:29:38 2011
@@ -264,7 +264,7 @@ public class TestLocalRunner extends Tes
     Job job = Job.getInstance();
     job.setMapperClass(GCMapper.class);
     job.setNumReduceTasks(0);
-    job.getConfiguration().set("io.sort.mb", "25");
+    job.getConfiguration().set(MRJobConfig.IO_SORT_MB, "25");
     FileInputFormat.addInputPath(job, inputPath);
     FileOutputFormat.setOutputPath(job, outputPath);
 
@@ -303,8 +303,7 @@ public class TestLocalRunner extends Tes
     job.setReducerClass(CountingReducer.class);
     job.setNumReduceTasks(1);
     LocalJobRunner.setLocalMaxRunningMaps(job, 6);
-    job.getConfiguration().set("io.sort.record.pct", "0.50");
-    job.getConfiguration().set("io.sort.mb", "25");
+    job.getConfiguration().set(MRJobConfig.IO_SORT_MB, "25");
     FileInputFormat.addInputPath(job, inputPath);
     FileOutputFormat.setOutputPath(job, outputPath);
 



Mime
View raw message