[ https://issues.apache.org/jira/browse/MAPREDUCE-5790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057345#comment-14057345 ]
Hadoop QA commented on MAPREDUCE-5790: -------------------------------------- {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12654930/MAPREDUCE-5790.v02.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4724//testReport/ Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/4724//console This message is automatically generated. > Default map hprof profile options do not work > --------------------------------------------- > > Key: MAPREDUCE-5790 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-5790 > Project: Hadoop Map/Reduce > Issue Type: Bug > Affects Versions: 2.3.0 > Environment: java version "1.6.0_31" > Java(TM) SE Runtime Environment (build 1.6.0_31-b04) > Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01, mixed mode) > Reporter: Andrew Wang > Assignee: Gera Shegalov > Priority: Blocker > Attachments: MAPREDUCE-5790.v01.patch, MAPREDUCE-5790.v02.patch > > > I have an MR job doing the following: > {code} > Job job = Job.getInstance(conf); > // Enable profiling > job.setProfileEnabled(true); > job.setProfileTaskRange(true, "0"); > job.setProfileTaskRange(false, "0"); > {code} > When I run this job, some of my map tasks fail with this error message: > {noformat} > org.apache.hadoop.util.Shell$ExitCodeException: > /data/5/yarn/nm/usercache/hdfs/appcache/application_1394482121761_0012/container_1394482121761_0012_01_000041/launch_container.sh: > line 32: $JAVA_HOME/bin/java -Djava.net.preferIPv4Stack=true > -Dhadoop.metrics.log.level=WARN -Xmx825955249 -Djava.io.tmpdir=$PWD/tmp > -Dlog4j.configuration=container-log4j.properties > -Dyarn.app.container.log.dir=/var/log/hadoop-yarn/container/application_1394482121761_0012/container_1394482121761_0012_01_000041 > -Dyarn.app.container.log.filesize=0 -Dhadoop.root.logger=INFO,CLA > ${mapreduce.task.profile.params} org.apache.hadoop.mapred.YarnChild > 10.20.212.12 43135 attempt_1394482121761_0012_r_000000_0 41 > 1>/var/log/hadoop-yarn/container/application_1394482121761_0012/container_1394482121761_0012_01_000041/stdout > > 2>/var/log/hadoop-yarn/container/application_1394482121761_0012/container_1394482121761_0012_01_000041/stderr > : bad substitution > {noformat} > It looks like ${mapreduce.task.profile.params} is not getting subbed in > correctly. -- This message was sent by Atlassian JIRA (v6.2#6252)