hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yussuf Shaikh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6802) TestKill.testKillJob() fails intermittently on Power
Date Tue, 01 Nov 2016 07:06:58 GMT

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

Yussuf Shaikh commented on MAPREDUCE-6802:
------------------------------------------

[~haibochen] Even I think same.
I suggest along with waitForState on the job, add a line in the test case to waitForState
for the task to be SCHEDULED state.
Have tested above workaround on Power and it worked every time.

> TestKill.testKillJob() fails intermittently on Power
> ----------------------------------------------------
>
>                 Key: MAPREDUCE-6802
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6802
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 2.7.3
>         Environment: # uname -a
> Linux pts00452-vm10 3.10.0-327.el7.ppc64le #1 SMP Thu Oct 29 17:31:13 EDT 2015 ppc64le
ppc64le ppc64le GNU/Linux
> # cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.2 (Maipo)
>            Reporter: Yussuf Shaikh
>
> Running org.apache.hadoop.mapreduce.v2.app.TestKill
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 9.86 sec <<<
FAILURE! - in org.apache.hadoop.mapreduce.v2.app.TestKill
> testKillJob(org.apache.hadoop.mapreduce.v2.app.TestKill)  Time elapsed: 0.377 sec  <<<
FAILURE!
> java.lang.AssertionError: Task state not correct expected:<KILLED> but was:<NEW>
>        at org.junit.Assert.fail(Assert.java:88)
>        at org.junit.Assert.failNotEquals(Assert.java:743)
>        at org.junit.Assert.assertEquals(Assert.java:118)
>        at org.apache.hadoop.mapreduce.v2.app.TestKill.testKillJob(TestKill.java:99)
> Results :
> Failed tests:
>  TestKill.testKillJob:99 Task state not correct expected:<KILLED> but was:<NEW>
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0



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

---------------------------------------------------------------------
To unsubscribe, e-mail: mapreduce-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-help@hadoop.apache.org


Mime
View raw message