Hadoop 2367- Does not respect JobConf.getProfileEnabled()
---------------------------------------------------------
Key: HADOOP-2723
URL: https://issues.apache.org/jira/browse/HADOOP-2723
Project: Hadoop Core
Issue Type: Bug
Components: mapred
Affects Versions: hudson
Reporter: Clint Morgan
Looks like it should add a guard in TaskRunner.run()
if (conf.getProfileEnabled()) {
if (conf.getProfileTaskRange(t.isMapTask()
).isIncluded(t.getPartition())) {
File prof = TaskLog.getTaskLogFile(taskid, TaskLog.LogName.PROFILE);
vargs.add("-agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,"+
"verbose=n,file="+prof.toString());
}
}
Also, how come these conf values were not added to hadoop-default.xml?
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.