Você está na página 1de 2

Apache Zeppelin 8.

0 - MacBook installation

download binary package


http://zeppelin.apache.org/download.html
Download Apache Zeppelin
Binary package with all interpreters (Install guide):

# download
.tgz file is a TAR Archive file that has been compressed using Gnu Zip
(gzip) software.
-rw-r--r--@ 1 menfisystems staff 984519529 Jan 13 22:35
zeppelin-0.8.0-bin-all.tgz

drwxr-xr-x@ 13 menfisystems staff 442 Jan 13 22:37


zeppelin-0.8.0-bin-all

$ cd zeppelin-0.8.0-bin-all/bin
$ pwd
/Users/menfisystems/Downloads/zeppelin-0.8.0-bin-all/bin

# start
$ ./zeppelin-daemon.sh start ; echo $?
Log dir doesn't exist, create /Users/menfisystems/Downloads/
zeppelin-0.8.0-bin-all/logs
Pid dir doesn't exist, create /Users/menfisystems/Downloads/
zeppelin-0.8.0-bin-all/run
Zeppelin start [ OK ]
0

$ pwd
/Users/menfisystems/Downloads/zeppelin-0.8.0-bin-all

# sample notebooks created on install


$ ls notebook/
2A94M5J1Z 2BWJFTXKJ 2BYEZ5EVK 2C2AUG798 2C35YU814 2C57UKYWR

# logs created
$ ls logs/
zeppelin-menfisystems-Menfis-MacBook-Pro.local.log
zeppelin-menfisystems-Menfis-MacBook-Pro.local.out

# echo Apache Zeppelin version


$ pwd
/Users/menfisystems/Downloads/zeppelin-0.8.0-bin-all
$ bin/zeppelin-daemon.sh --version
0.8.0
# environment variables of interest
$ pwd
/Users/menfisystems/Downloads/zeppelin-0.8.0-bin-all

$ grep SPARK_HOME conf/zeppelin-env.sh.template | grep export


# export SPARK_HOME
# (required) When it is defined, load it instead of Zeppelin embedded
Spark libraries

$ grep PYSPARK_PYTHON conf/zeppelin-env.sh.template | grep export


# export PYSPARK_PYTHON
# path to the python command. must be the same path on the
driver(Zeppelin) and all workers.

$ pwd
/Users/menfisystems/Downloads/zeppelin-0.8.0-bin-all

# default port confirmation


$ grep -i 8080 logs/*
logs/zeppelin-menfisystems-Menfis-MacBook-Pro.local.log: INFO
[2019-01-13 22:53:04,500] ({main} ZeppelinConfiguration.java[create]:
131) - Server Port: 8080

logs/zeppelin-menfisystems-Menfis-MacBook-Pro.local.log: INFO
[2019-01-13 22:53:36,580] ({main} AbstractConnector.java[doStart]:266)
- Started ServerConnector@9e02f84{HTTP/1.1}{0.0.0.0:8080}

# MacBook - Safari
http://localhost:8080/#/

Welcome to Zeppelin!
Zeppelin is web-based notebook that enables interactive data
analytics.
You can make beautiful data-driven, interactive, collaborative
document with SQL, code and even more!

Zeppelin Tutorial
Basic Features (Spark)
Matplotlib (Python • PySpark)
R (SparkR)
Using Flink for batch processing
Using Mahout
Using Pig for querying data

Você também pode gostar