Repository: tez Updated Branches: refs/heads/master 1d7ad6f73 -> 9fd3074f5
TEZ-1333. Flaky test: TestOnFileSortedOutput fails in jenkins server with OOM Project: http://git-wip-us.apache.org/repos/asf/tez/repo Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/9fd3074f Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/9fd3074f Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/9fd3074f Branch: refs/heads/master Commit: 9fd3074f530aff9e1c1db5e7710c092e968fe937 Parents: 1d7ad6f Author: Rajesh Balamohan <[email protected]> Authored: Wed Jul 30 12:41:40 2014 +0530 Committer: Rajesh Balamohan <[email protected]> Committed: Wed Jul 30 12:41:40 2014 +0530 ---------------------------------------------------------------------- .../apache/tez/runtime/library/output/TestOnFileSortedOutput.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tez/blob/9fd3074f/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java ---------------------------------------------------------------------- diff --git a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java index 40447aa..3eb92c9 100644 --- a/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java +++ b/tez-runtime-library/src/test/java/org/apache/tez/runtime/library/output/TestOnFileSortedOutput.java @@ -108,6 +108,7 @@ public class TestOnFileSortedOutput { @Before public void setup() throws Exception { conf.setInt(TezRuntimeConfiguration.TEZ_RUNTIME_SORT_THREADS, sorterThreads); + conf.setInt(TezRuntimeConfiguration.TEZ_RUNTIME_IO_SORT_MB, 5); conf.set(TezRuntimeConfiguration.TEZ_RUNTIME_KEY_CLASS, Text.class.getName()); conf.set(TezRuntimeConfiguration.TEZ_RUNTIME_VALUE_CLASS, Text.class.getName()); @@ -242,7 +243,7 @@ public class TestOnFileSortedOutput { doReturn(counters).when(context).getCounters(); doReturn(workingDirs).when(context).getWorkDirs(); doReturn(payLoad).when(context).getUserPayload(); - doReturn(100 * 1024 * 1024l).when(context).getTotalMemoryAvailableToTask(); + doReturn(5 * 1024 * 1024l).when(context).getTotalMemoryAvailableToTask(); doReturn(UniqueID).when(context).getUniqueIdentifier(); doReturn("v1").when(context).getDestinationVertexName(); doReturn(ByteBuffer.wrap(serviceProviderMetaData.getData())).when(context)
