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

Robert Kanter commented on MAPREDUCE-6201:
------------------------------------------

With 100% disk usage, the other problems I was referring to would be OS-level 
problems.  If you've ever tried to use Windows or a Mac with only a few 
megabytes of disk space level, you'll run into all kinds of funky problems.  
However, I was thinking about this more, and whoever/whatever running the test 
might have a quota on the disk, which would trigger the same issue, without the 
OS being affected, so I think you're right that we shouldn't do 100.

A more clear message failing the test would be best.  Maybe assert that the 
configured amount of disk space is free at the beginning of the test?  I do 
think that setting this to a higher value like 95 or 99 or something is also 
reasonable to do given that the job the test runs shouldn't generate much data.

> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: mapreduce-issues-h...@hadoop.apache.org

Reply via email to