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

(cherry picked from commit e2ee2ff7d7)
This commit is contained in:
Robert Kanter 2015-02-05 14:20:28 -08:00
parent eb927a1d6b
commit 46a2027226
2 changed files with 4 additions and 0 deletions

View File

@ -109,6 +109,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

View File

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