Hi,
I'm trying to do some profiling with hprof on hadoop 0.20.2-cdh3u2 on
a pseudo-distributed environment, I tried to post also on CDH3 specific mailing list but seems that no one has experience on profiling there.

I'm using the new API, so I've setted on the Configuration conf
object:
conf.setBoolean("mapred.task.profile", true);
conf.set("mapred.task.profile.maps", "0-2");
conf.set("mapred.task.profile.reduces", "0-2");
conf.set("mapred.task.profile.params","-
agentlib:hprof=cpu=samples,heap=sites,force=n,thread=y,verbose=n,file=
%s");

My problem is that I can't find any output from the profiler.

I've read on various sources that the output should be on the current
working directory (I suppose they are speaking of driver working
directory on the local file system), but I've also searched quite a bit around on some other possible locations.
The configuration parameters are correctly set on job's configuration
history, and hprof seems to be installed (java -agentlib:hprof=help
reports correctly).

Thanks for any help,
Paolo

Reply via email to