hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6223) TestJobConf#testNegativeValueForTaskVmem failures
Date Fri, 06 Feb 2015 18:38:36 GMT

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

Akira AJISAKA commented on MAPREDUCE-6223:
------------------------------------------

Thanks [~varun_saxena] and [~iwasakims] for the comments! I understand this issue should be
fixed first.
The v2 patch looks good to me.
{code}
-    Assert.assertEquals(configuration.getMemoryForReduceTask(),2);
-    
+    Assert.assertEquals(configuration.getMemoryForReduceTask(),2);    
{code}
Would you please remove the trailing the whitespaces? I'm +1 after that is addressed.

> TestJobConf#testNegativeValueForTaskVmem failures
> -------------------------------------------------
>
>                 Key: MAPREDUCE-6223
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6223
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0
>            Reporter: Gera Shegalov
>            Assignee: Varun Saxena
>         Attachments: MAPREDUCE-6223.001.patch, MAPREDUCE-6223.002.patch
>
>
> {code}
> Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 3.328 sec <<<
FAILURE! - in org.apache.hadoop.conf.TestJobConf
> testNegativeValueForTaskVmem(org.apache.hadoop.conf.TestJobConf)  Time elapsed: 0.089
sec  <<< FAILURE!
> java.lang.AssertionError: expected:<1024> but was:<-1>
> 	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.conf.TestJobConf.testNegativeValueForTaskVmem(TestJobConf.java:111)
> {code}



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

Mime
View raw message