title: Redirect to output file in HDFS
body: <p>I want to be able to redirect from a user portal to the output file page in hdfs file system produced after running a hadoop map-reduce job.</p>
  
  <p>I can currently redirect to the output file page with the following refpath</p>
  
  <pre><code>http://{slave}:{port}/browseDirectory.jsp?dir=%2Fuser%2F{$USERNAME}%2F{$OUTPUTFILENAME}&amp;namenodeInfoPort=50070&amp;nnaddr={MASTER}:{PORT}
  </code></pre>
  
  <p>But this can be accessed only locally. How can I access the same from a remote server?
  I have tried looking at webHdfs api's but failed to figure out how to work with it.</p>