MAPREDUCE-2622. Remove the last remaining reference to the deprecated configuration "io.sort.mb". Contributed by Harsh J Chouraria.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1150921 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Todd Lipcon 2011-07-25 21:29:38 +00:00
parent db9d8333b4
commit ef6110e94d
2 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -264,7 +264,7 @@ public class TestLocalRunner extends TestCase {
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 TestCase {
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);