[
https://issues.apache.org/jira/browse/TEZ-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14497395#comment-14497395
]
Bikas Saha commented on TEZ-2323:
---------------------------------
lgtm
> Fix TestOrderedWordcount to use MR memory configs
> -------------------------------------------------
>
> Key: TEZ-2323
> URL: https://issues.apache.org/jira/browse/TEZ-2323
> Project: Apache Tez
> Issue Type: Bug
> Reporter: Yesha Vora
> Assignee: Hitesh Shah
> Attachments: TEZ-2323.1.patch, TEZ-2323.2.patch
>
>
> TestOrderedwordcount takes combination of configs from mapred-site.xml and
> tez-site.xml. Due to considering mix of the mapred and tez configs, it fails
> with below error.
> {noformat}
> 2015-04-15 13:20:53,599 DEBUG [main] app.RecoveryParser: Parsing event from
> input stream, eventType=TASK_ATTEMPT_FINISHED
> 2015-04-15 13:20:53,619 DEBUG [main] app.RecoveryParser: Parsed event from
> input stream, eventType=TASK_ATTEMPT_FINISHED, event=vertexName=null,
> taskAttemptId=attempt_1429100089638_0008_1_00_000002_0, startTime=0,
> finishTime=1429104012181, timeTaken=1429104012181, status=FAILED,
> errorEnum=FRAMEWORK_ERROR, diagnostics=Error: Failure while running
> task:java.lang.IllegalArgumentException: tez.runtime.io.sort.mb 512 should be
> larger than 0 and should be less than the available task memory (MB):246
> at
> com.google.common.base.Preconditions.checkArgument(Preconditions.java:88)
> at
> org.apache.tez.runtime.library.common.sort.impl.ExternalSorter.getInitialMemoryRequirement(ExternalSorter.java:304)
> at
> org.apache.tez.runtime.library.output.OrderedPartitionedKVOutput.initialize(OrderedPartitionedKVOutput.java:90)
> at
> org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:443)
> at
> org.apache.tez.runtime.LogicalIOProcessorRuntimeTask$InitializeOutputCallable.callInternal(LogicalIOProcessorRuntimeTask.java:422)
> at org.apache.tez.common.CallableWithNdc.call(CallableWithNdc.java:36)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask.run(FutureTask.java:262)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)