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

This commit is contained in:
Robert Kanter 2015-02-05 14:20:28 -08:00
parent e1990ab427
commit e2ee2ff7d7
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -55,6 +55,7 @@ public void testLargeSort() throws Exception {
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);