title: Is there any way to get informative errors from python scripts in hadoop streaming?
body: <p>I'm using python with hadoop streaming.  Despite careful unit testing, errors inevitably creep in.  When they do, this error message is all that hadoop gives:</p>
  
  <pre><code>java.lang.RuntimeException: PipeMapRed.waitOutputThreads(): subprocess failed with code 1
      at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:362)
      at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:576)
  ...
  </code></pre>
  
  <p>The message is very unhelpful for debugging.</p>
  
  <p>Is there any way to get <em>informative</em> errors from python scripts in hadoop streaming?</p>