hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haibo Chen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6201) TestNetworkedJob fails on trunk
Date Mon, 27 Feb 2017 23:09:45 GMT

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

Haibo Chen commented on MAPREDUCE-6201:
---------------------------------------

Thanks for the clarification, [~rkanter]. While I agree with you on that if the disk full
we'll hit all other problems first, I am not sure if that is necessarily the best thing in
this particular test. In testNetworkedJob, before we check cluster status, we submit a job
to the cluster. If the job fails mysteriously because of the disk space issue, that will only
make debugging the test failure even harder.  Thus, I think if we cannot make the failure
surface both clearly and early, we should add assert messages to give some hints on the cause.

> TestNetworkedJob fails on trunk
> -------------------------------
>
>                 Key: MAPREDUCE-6201
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6201
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>            Reporter: Robert Kanter
>            Assignee: Peter Bacsko
>         Attachments: MAPREDUCE-6201-001.patch, MAPREDUCE-6201-002.patch, MAPREDUCE-6201-003.patch
>
>
> Currently, {{TestNetworkedJob}} is failing on trunk:
> {noformat}
> Running org.apache.hadoop.mapred.TestNetworkedJob
> Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 215.01 sec <<<
FAILURE! - in org.apache.hadoop.mapred.TestNetworkedJob
> testNetworkedJob(org.apache.hadoop.mapred.TestNetworkedJob)  Time elapsed: 67.363 sec
 <<< FAILURE!
> java.lang.AssertionError: expected:<0> but was:<2>
> 	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.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.mapred.TestNetworkedJob.testNetworkedJob(TestNetworkedJob.java:195)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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