Created
April 4, 2017 20:07
-
-
Save jacksonpradolima/6a421ee1a74143e0b180d6ad0b753aa1 to your computer and use it in GitHub Desktop.
Install Apache Zeppelin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Download zeppelin | |
wget http://www-us.apache.org/dist/zeppelin/zeppelin-0.7.1/zeppelin-0.7.1-bin-all.tgz | |
tar -xvf zeppelin-0.7.1-bin-all.tgz | |
sudo mv zeppelin-0.7.1-bin-all /usr/share/zeppelin-0.7.1-bin-all | |
# Define the paths for Zeppelin | |
#echo 'export JAVA_HOME="$JAVA_HOME"' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
echo 'export SPARK_HOME="/opt/spark-2.1.0-bin-hadoop2.7"' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
echo 'export PYSPARK_PYTHON="/usr/bin/python2.7"' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
echo 'export PYTHONPATH="/opt/spark-2.1.0-bin-hadoop2.7/python/lib/py4j-0.10.4-src.zip"' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
echo 'export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/build:$PYTHONPATH' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
echo 'export PYTHONPATH=$SPARK_HOME/python/lib/py4j-0.8.2.1-src.zip:$PYTHONPATH' >> /usr/share/zeppelin-0.7.1-bin-all/conf/zeppelin-env.sh | |
#Set zeppelin-site.xml | |
echo 'You must adjust the port of Zeppelin in zeppelin-site.xml. Copy the template, remove ".template" and change the port in the property "zeppelin.server.port"' | |
rm zeppelin-0.7.1-bin-all.tgz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment