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

Philip Zeyliger commented on MAPREDUCE-5653:
--------------------------------------------

You could make an argument that DistCp, as a Yarn application, knows better 
than the defaults about how much memory it uses.  I.e., that the bug is that 
DistCp isn't setting both intimately related settings 
({{mapred.job.{map|reduce}.memory.mb}} and {{mapreduce.map.java.opts}}, but 
rather than just one.  If the defaults in your cluster were to use a lot of 
memory, and DistCP uses very little (after all, it's copying a buffer around), 
it's wasteful.

> DistCp does not honour config-overrides for mapreduce.[map,reduce].memory.mb
> ----------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5653
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5653
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: distcp
>    Affects Versions: 0.23.9, 2.2.0
>            Reporter: Mithun Radhakrishnan
>            Assignee: Ratandeep Ratti
>             Fix For: 3.0.0
>
>         Attachments: MAPREDUCE-5653.branch-0.23.patch, 
> MAPREDUCE-5653.branch-2.patch, MAPREDUCE-5653.trunk.2.patch, 
> MAPREDUCE-5653.trunk.patch
>
>
> When a DistCp job is run through Oozie (through a Java action that launches 
> DistCp), one sees that mapred.child.java.opts as set from the caller is 
> honoured by DistCp. But, DistCp doesn't seem to honour any overrides for 
> configs mapreduce.[map,reduce].memory.mb.
> Problem has been identified. I'll post a patch shortly.



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

Reply via email to