title: Hadoop profile output - where and what?
body: <p>I'm trying to profile my application to see if I can reproduce <a href="http://thushw.blogspot.com/2009/06/hadoop-reading-large-lines-several-mb.html" rel="noreferrer">this blogpost</a>.  I added -D mapred.task.profile=true to the command line and checked in the job configuration that it took.  </p>
  
  <p><a href="https://www.inkling.com/read/hadoop-definitive-guide-tom-white-3rd/chapter-5/tuning-a-job" rel="noreferrer">Hadoop: The Definitive Guide</a> says the profile info will appear in the Unix dir I ran the job from.  The dir I started from has a file attempt_201305011806_0042_m_000002_0.profile, which is correct job ID but there wasn't a mapper #2 (only 1 mapper and it didn't fail).  The output only has the header info in the profile file; there isn't any actual profiling info.</p>
  
  <p>The Hadoop docs say the output will be in the user log directory but I can't find anything.  If I go into the task logs for the mapper, there's profiling info under "profile.out logs" with legitimate info.  My HDFS output dir doesn't have the profiling info at all.  Shouldn't the profiling output be in HDFS somewhere?</p>
  
  <p>Also, it only gives text-based output in the log but all of the tools I've found to visualize the profile assume binary hprof format.  Any ideas for how I could get a binary profile or else load a text-based profile into an hprof tool?</p>