title: ImportError: No module named happybase
body: <p>I have a mapreduce program that connects to Hbase using happybase. I am getting the following error<br>
  File </p>
  
  <pre><code>/hadoop/yarn/local/usercache/aprakash/appcache/application_1407169690715_0025/container_1407169690715_0025_01_000002/./testhappybase.py, line 9, in &lt;module&gt;
  import happybase
  ImportError: No module named happybase
  </code></pre>
  
  <p>When i run the program independently i am able to import happybase. Below command shows how i run my hadoop job    </p>
  
  <pre><code>hadoop jar /usr/lib/hadoop-mapreduce/hadoop-streaming.jar -file
  /home/aprakash/testhappybase.py -mapper /home/aprakash/testhappybase.py -file 
  /home/aprakash/workspace/reducer.py -reducer /home/aprakash/workspace/reducer.py -input 
  /user/aprakash/flume-channel/apache_access_combined/* -output /user/aprakash/flume-channel-output2  
  </code></pre>
  
  <p>I see the happybase module under <code>/usr/local/lib/python2.7/site-packages/happybase</code>       </p>