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

Bikas Saha commented on TEZ-2816:
---------------------------------

Minor update to the patch. when the scheduler preempts a new lower pri 
container then it re-requests a pending task allocation request at that 
priority so that the RM will allocate it again later. the existing test was 
checking for this re-request, but using an incorrect re-request task (different 
priority). fixed the test to verify re-request at the correct priority.
this is unrelated to the main issue of the jira and is a bug in the test code 
that I noticed. so fixing it here.

> Build with hadoop 2.4 fails
> ---------------------------
>
>                 Key: TEZ-2816
>                 URL: https://issues.apache.org/jira/browse/TEZ-2816
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Jeff Zhang
>            Assignee: Bikas Saha
>         Attachments: TEZ-2816.1.patch, TEZ-2816.2.patch
>
>
> https://builds.apache.org/job/Tez-Build-Hadoop-2.4/170/console
> {noformat}
> Running org.apache.tez.analyzer.TestAnalyzer
> Tests run: 13, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 99.595 sec 
> <<< FAILURE!
> testBasicInputFailureWithoutExit(org.apache.tez.analyzer.TestAnalyzer)  Time 
> elapsed: 6.276 sec  <<< FAILURE!
> java.lang.AssertionError: v2 : 000000_0
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.verifyCriticalPath(TestAnalyzer.java:273)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.runDAGAndVerify(TestAnalyzer.java:220)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.testBasicInputFailureWithoutExit(TestAnalyzer.java:399)
> testCascadingInputFailureWithExitSuccess(org.apache.tez.analyzer.TestAnalyzer)
>   Time elapsed: 5.986 sec  <<< FAILURE!
> java.lang.AssertionError: v3 : 000000_1
>       at org.junit.Assert.fail(Assert.java:88)
>       at org.junit.Assert.assertTrue(Assert.java:41)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.verifyCriticalPath(TestAnalyzer.java:273)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.runDAGAndVerify(TestAnalyzer.java:220)
>       at 
> org.apache.tez.analyzer.TestAnalyzer.testCascadingInputFailureWithExitSuccess(TestAnalyzer.java:561)
> Results :
> Failed tests: 
>   
> TestAnalyzer.testBasicInputFailureWithoutExit:399->runDAGAndVerify:220->verifyCriticalPath:273
>  v2 : 000000_0
>   
> TestAnalyzer.testCascadingInputFailureWithExitSuccess:561->runDAGAndVerify:220->verifyCriticalPath:273
>  v3 : 000000_1
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to