How To: Enable Anaconda in Zeppelin

Description:

Short guide on how to enable Anaconda in Zeppelin.

How To:

1. Add this to node bootstrap:

wget https://3230d63b5fc54e62148e-c95ac804525aac4b6dba79b00b39d1d3.ssl.cf1.rackcdn.com/Anaconda2-2.4.1-Linux-x86_64.sh
bash Anaconda2-2.4.1-Linux-x86_64.sh -b -f -p /usr/lib/anaconda2

echo "VIRTUAL_ENV_DISABLE_PROMPT=1 source /usr/lib/anaconda2/bin/activatec" >>
/usr/lib/hadoop2/etc/hadoop/hadoop-env.sh
echo "VIRTUAL_ENV_DISABLE_PROMPT=1 source /usr/lib/anaconda2/bin/activate
/usr/lib/anaconda2" >> /usr/lib/hadoop/conf/hadoop-env.sh

2. Change following interpreter setting's zeppelin.pyspark.python value to

/usr/lib/anaconda2/bin/python

 

Have more questions? Submit a request

Comments

Powered by Zendesk