[ https://issues.apache.org/jira/browse/MAPREDUCE-5653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832763#comment-13832763 ]
Jason Lowe commented on MAPREDUCE-5653: --------------------------------------- Thinking about this further, I see why addDefaultResource() will not work. distcp-default.xml and mapred-site.xml will often overlap, and it's likely mapred-site.xml will be loaded first then distcp-default.xml will later stomp any overlapping values when it's loaded. So I'd like to see a comment for the property iteration loop explaining why we can't use addDefaultResource. Also a unit test would be nice to verify it's working as-intended. > 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: trunk, 0.23.9, 2.2.0 > Reporter: Mithun Radhakrishnan > Assignee: Mithun Radhakrishnan > Attachments: MAPREDUCE-5653.branch-0.23.patch, > MAPREDUCE-5653.branch-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.1#6144)