Tuesday, November 17, 2015

Runnig Zeppelin notebook on MapR cluster

Zeppelin, a web-based notebook that enables interactive data analytics. You can make beautiful data-driven, interactive and collaborative documents with SQL, Scala and more.these are the minimal steps to get it done on MapR-5.0 cluster
insure java is installed
yum install git
yum install npm

# install maven
wget http://www.eu.apache.org/dist/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.tar.gz
sudo tar -zxf apache-maven-3.3.3-bin.tar.gz -C /usr/local/
sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/local/bin/mvn

git clone https://github.com/apache/incubator-zeppelin.git
cd incubator-zeppelin/
mvn clean package -Pmapr50 -DskipTests

# update conf/zeppelin-env.sh
export SPARK_HOME=
export HADOOP_HOME=

#optional configuration
conf/zeppelin-env.sh
conf/zeppelin-site.xml

#Run
bin/zeppelin-daemon.sh start
open a web-browser and browse http://hostname:8080/ 

#To Stop
bin/zeppelin-daemon.sh stop

No comments: