介紹
官網:http://zeppelin.apache.org/
源代碼位址:https://github.com/apache/zeppelin
Apache Zeppelin 是一個讓互動式資料分析變得可行的基于網頁的notebook。Zeppelin提供了資料可視化的架構。
zeppelin 是一個提供互動資料分析且基于Web的筆記本。友善你做出可資料驅動的、可互動且可協作的精美文檔,并且支援多種語言,包括 Scala(使用 Apache Spark)、Python(Apache Spark)、SparkSQL、 Hive、 Markdown、Shell等等。
安裝
下載下傳:http://zeppelin.apache.org/download.html
為了不影響功能,選擇zeppelin-0.8.0-bin-all.tgz
[[email protected] ~]# tar xf zeppelin-0.8.0-bin-all.tgz -C /usr/local/
[[email protected] ~]# cd /usr/local/zeppelin-0.8.0-bin-all/conf/
[[email protected] conf]# mv zeppelin-site.xml.template zeppelin-site.xml #啟用設定
關閉匿名登入,true改為false
[[email protected] conf]# vim zeppelin-site.xml
407 <property>
408 <name>zeppelin.anonymous.allowed</name>
409 <value>false</value>
410 <description>Anonymous user allowed by default</description>
411 </property>
啟用認證配置檔案
[[email protected] conf]# mv shiro.ini.template shiro.ini
[users]為使用者配置子產品。
[[email protected] conf]# vim shiro.ini
18 [users]
19 # List of users with their password allowed to access Zeppelin.
20 # To use a different strategy (LDAP / Database / ...) check the shiro doc at http://shiro.apache.org/configuration.html#Conf iguration-INISections
21 # To enable admin user, uncomment the following line and set an appropriate password.
22 admin = admin, admin
23 user1 = password2, role1, role2
24 user2 = password3, role3
25 user3 = password4, role2
26 test = test, admin
啟動關閉服務:
[[email protected] bin]# cd /usr/local/zeppelin-0.8.0-bin-all/bin
[[email protected] bin]# ./zeppelin-daemon.sh {start|stop|upstart|restart|reload|status}
通路
http://localhost:8080