[
https://issues.apache.org/jira/browse/MAPREDUCE-6204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14257775#comment-14257775
]
sam liu commented on MAPREDUCE-6204:
------------------------------------
I did many tests and it does not work if only making MAPRED_TASK_JAVA_OPTS
larger heap size.
Actually, MapReduceChildJVM#getChildJavaOpts is only be invoked by method
MapReduceChildJVM#getVMCommand which is not be invoked by any other existing
hadoop code: that's why in my tests the value of MAPRED_MAP_TASK_JAVA_OPTS and
MAPRED_REDUCE_TASK_JAVA_OPTS is still null and not be the same as
MAPRED_TASK_JAVA_OPTS. Only I set correct value to MAPRED_MAP_TASK_JAVA_OPTS
and MAPRED_REDUCE_TASK_JAVA_OPTS, the map/reduce tasks could get correct java
opts as below and this unit test could pass on PPC64 platform:
MAPRED_TASK_JAVA_OPTS=-Xms32m -Xmx1G
MAPRED_MAP_TASK_JAVA_OPTS=-Xms32m -Xmx1G
MAPRED_REDUCE_TASK_JAVA_OPTS=-Xms32m -Xmx1G
> TestJobCounters should use new properties instead
> JobConf.MAPRED_TASK_JAVA_OPTS
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-6204
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-6204
> Project: Hadoop Map/Reduce
> Issue Type: Test
> Components: test
> Affects Versions: 2.6.0
> Reporter: sam liu
> Assignee: sam liu
> Priority: Minor
> Attachments: MAPREDUCE-6204-1.patch, MAPREDUCE-6204.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)