You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "TezQA (JIRA)" <ji...@apache.org> on 2015/04/15 23:03:59 UTC

[jira] [Commented] (TEZ-2323) Fix TestOrderedWordcount to use MR memory configs

    [ https://issues.apache.org/jira/browse/TEZ-2323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14496988#comment-14496988 ] 

TezQA commented on TEZ-2323:
----------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment
  http://issues.apache.org/jira/secure/attachment/12725669/TEZ-2323.1.patch
  against master revision 19378d5.

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:green}+1 tests included{color}.  The patch appears to include 1 new or modified test files.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 javadoc{color}.  There were no new javadoc warning messages.

    {color:green}+1 findbugs{color}.  The patch does not introduce any new Findbugs (version 2.0.3) warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:red}-1 core tests{color}.  The patch failed these unit tests in :
                   org.apache.tez.test.TestSecureShuffle

Test results: https://builds.apache.org/job/PreCommit-TEZ-Build/469//testReport/
Console output: https://builds.apache.org/job/PreCommit-TEZ-Build/469//console

This message is automatically generated.

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