[ https://issues.apache.org/jira/browse/MAPREDUCE-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14169691#comment-14169691 ]
Jason Lowe commented on MAPREDUCE-5970: --------------------------------------- Thanks for updating the patch, Gera! The audit and unit test failures are unrelated. Patch looks good except for one minor thing which I missed in the initial review. I noticed that tasks add their profile params as the last parameter before the classname on the JVM command-line, but YARNRunner is adding the AM profile options as the first thing. For consistency in case there's overlap between the profile params and admin/user options these should be last to match the existing behavior for tasks. > Provide a boolean switch to enable MR-AM profiling > -------------------------------------------------- > > Key: MAPREDUCE-5970 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5970 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: applicationmaster, client > Affects Versions: 2.4.1 > Reporter: Gera Shegalov > Assignee: Gera Shegalov > Priority: Minor > Attachments: MAPREDUCE-5970.v01.patch, MAPREDUCE-5970.v02.patch > > > MR task profiling can be enabled with a simple switch > {{mapreduce.task.profile=true}}. We can analogously have > {{yarn.app.mapreduce.am.profile}} for MR-AM -- This message was sent by Atlassian JIRA (v6.3.4#6332)