title: In python MRJob, how to set up the option for tempory output directory
body: <p>I am using MRJob to run the very simple word count as a standard hadoop job:</p>
  
  <pre><code>python word_count.py -r hadoop hdfs:///path-to-my-data
  </code></pre>
  
  <p>This print error indicating that it can not create the temporary directory for temporary output:</p>
  
  <pre><code>STDERR: mkdir: Incomplete HDFS URI, no host: hdfs:///user/path-to-tmp-dir
  ...
  ...
  subprocess.CalledProcessError: Command '['/opt/mapr/hadoop/hadoop-0.20.2/bin/hadoop', 'fs', '-mkdir', 'hdfs:///user/
  </code></pre>
  
  <p>Assume I can not create the directory desired by default by MRJob. Is it possible to pass the option to MRJob through command line? The only option I found so far is the <a href="https://pythonhosted.org/mrjob/guides/configs-all-runners.html#option-base_tmp_dir" rel="nofollow">base_tmp_dir</a>. In the description it mentioned "Path to put local temp dirs inside." where the "local" is not exactly what I am looking for as the temporary output directory is supposed to be in hdfs. Nevertheless, I meant to give it a try (:</p>
  
  <pre><code>python word_count.py --base-tmp-dir=./tmp/ data.txt 
  </code></pre>
  
  <p>or </p>
  
  <pre><code>python word_count.py -r hadoop --base-tmp-dir=hdfs:///some-path hdfs:///path-to-data
  </code></pre>
  
  <p>but failed as the MRJob complain there is no such option:</p>
  
  <pre><code>word_count.py: error: no such option: --base-tmp-dir
  </code></pre>
  
  <p>The <code>word_count.py</code> is the standard one found <a href="https://pythonhosted.org/mrjob/guides/quickstart.html#writing-your-first-job" rel="nofollow">here</a>. May be I am missing some essential knowledge on MRJobj or I may have to go back to hadoop streaming.</p>