diff --git a/mapreduce/CHANGES.txt b/mapreduce/CHANGES.txt index 9e1b1f4483..54f039df1c 100644 --- a/mapreduce/CHANGES.txt +++ b/mapreduce/CHANGES.txt @@ -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 diff --git a/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java b/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java index ca7713024b..7d600ca253 100644 --- a/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java +++ b/mapreduce/src/test/mapred/org/apache/hadoop/mapreduce/TestLocalRunner.java @@ -264,7 +264,7 @@ public void testGcCounter() throws Exception { 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 void testMultiMaps() throws Exception { 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);