浏览代码

MAPREDUCE-6233. org.apache.hadoop.mapreduce.TestLargeSort.testLargeSort failed in trunk (zxu via rkanter)

Robert Kanter 10 年之前
父节点
当前提交
e2ee2ff7d7

+ 3 - 0
hadoop-mapreduce-project/CHANGES.txt

@@ -341,6 +341,9 @@ Release 2.7.0 - UNRELEASED
     MAPREDUCE-6186. Redundant call to requireJob() while displaying the conf
     MAPREDUCE-6186. Redundant call to requireJob() while displaying the conf
     page (Rohit Agarwal via jlowe)
     page (Rohit Agarwal via jlowe)
 
 
+    MAPREDUCE-6233. org.apache.hadoop.mapreduce.TestLargeSort.testLargeSort
+    failed in trunk (zxu via rkanter)
+
 Release 2.6.0 - 2014-11-18
 Release 2.6.0 - 2014-11-18
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 0
hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/src/test/java/org/apache/hadoop/mapreduce/TestLargeSort.java

@@ -55,6 +55,7 @@ public class TestLargeSort {
     int[] ioSortMbs = {128, 256, 1536};
     int[] ioSortMbs = {128, 256, 1536};
     for (int ioSortMb : ioSortMbs) {
     for (int ioSortMb : ioSortMbs) {
       Configuration conf = new Configuration(cluster.getConfig());
       Configuration conf = new Configuration(cluster.getConfig());
+      conf.setInt(MRJobConfig.MAP_MEMORY_MB, 2048);
       conf.setInt(MRJobConfig.IO_SORT_MB, ioSortMb);
       conf.setInt(MRJobConfig.IO_SORT_MB, ioSortMb);
       conf.setInt(LargeSorter.NUM_MAP_TASKS, 1);
       conf.setInt(LargeSorter.NUM_MAP_TASKS, 1);
       conf.setInt(LargeSorter.MBS_PER_MAP, ioSortMb);
       conf.setInt(LargeSorter.MBS_PER_MAP, ioSortMb);