title: Adding pyspark python path in oozie
body: <p>I'm trying to run a simple python script on Oozie using Hue. I'm using anaconda parcels installed so I've also add in Cloudera manager, spark configuration (Spark Service Advanced Configuration Snippet (Safety Valve) for spark-conf/spark-env.sh)</p>
  
  <pre><code>if [ -z "${PYSPARK_PYTHON}" ]; then
  export PYSPARK_PYTHON=/opt/cloudera/parcels/Anaconda/bin/python
  fi
  </code></pre>
  
  <p>When running the job, i've a python error
  ImportError: No module named pandas.io.json
  , meaning that the PYSPARK_PYTHON doesn't seems to take the one from anaconda.</p>
  
  <p>I've tried to add an arguments with</p>
  
  <pre><code>PYSPARK_PYTHON=/opt/cloudera/parcels/Anaconda/bin/python
  </code></pre>
  
  <p>on the spark action via hue, but doesn't seems to work.</p>
  
  <p>If I run the scripts via CLI and spark-submit it works.
  If I run other python scripts on Oozie via Hue (without packages from anaconda) it works.</p>
  
  <p>What am I missing ? :/</p>