You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2015/02/02 22:19:34 UTC

[jira] [Commented] (MAPREDUCE-6234) TestHighRamJob fails

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

Masatake Iwasaki commented on MAPREDUCE-6234:
---------------------------------------------

The cause of the test failure is the change of default value of {{mapreduce.map.memory.mb}} and {{mapreduce.reduce.memory.mb}} by MAPREDUCE-5785. Though the default value defined in mapred-default.xml from 1024 to -1 (which means turning on auto deriving from the value of -Xmx in java.opts), {{MRJobConfig.DEFAULT_MAP_MEMORY_MB}} and {{MRJobConfig.DEFAULT_REDUCE_MEMORY_MB}} are still 1024. Those are used in a few place such as the test in Gridmix.

> TestHighRamJob fails
> --------------------
>
>                 Key: MAPREDUCE-6234
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-6234
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/gridmix
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: MAPREDUCE-6234.001.patch
>
>
> {code}
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running org.apache.hadoop.mapred.gridmix.TestHighRamJob
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.162 sec <<< FAILURE! - in org.apache.hadoop.mapred.gridmix.TestHighRamJob
> testHighRamFeatureEmulation(org.apache.hadoop.mapred.gridmix.TestHighRamJob)  Time elapsed: 1.102 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.mapred.gridmix.TestHighRamJob.testHighRamConfig(TestHighRamJob.java:98)
> 	at org.apache.hadoop.mapred.gridmix.TestHighRamJob.testHighRamFeatureEmulation(TestHighRamJob.java:117)
> {code}



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