Zeppelin 部署

--zeppelin 下载地址

https://downloads.apache.org/zeppelin/

http://zeppelin.apache.org/download.html

 

 

[root@big-master1 conf]# cat /etc/profile

# /etc/profile

# System wide environment and startup programs, for login setup

# Functions and aliases go in /etc/bashrc

## Zeppelin ##

export ZEPPELIN_HOME=/usr/local/zeppelin

export PATH=$ZEPPELIN_HOME/bin:$PATH

 

 

[root@big-master1 ~]# cd /usr/local/zeppelin/

[root@big-master1 zeppelin]# ls

bin conf interpreter lib LICENSE licenses notebook NOTICE README.md zeppelin-web-0.8.2.war

[root@big-master1 zeppelin]# cd conf/

[root@big-master1 conf]# ls

configuration.xsl log4j.properties shiro.ini.template zeppelin-env.sh.template

interpreter-list log4j_yarn_cluster.properties zeppelin-env.cmd.template zeppelin-site.xml.template

 

 

[root@big-master1 conf]# cp shiro.ini.template shiro.ini

[root@big-master1 conf]# cp zeppelin-env.sh.template zeppelin-env.sh

[root@big-master1 conf]# cp zeppelin-site.xml.template zeppelin-site.xml

[root@big-master1 conf]# ll

total 96

-rw-r--r-- 1 tidb wheel 1326 Sep 26 2019 configuration.xsl

-rw-r--r-- 1 tidb wheel 2634 Sep 26 2019 interpreter-list

-rw-r--r-- 1 tidb wheel 1340 Sep 26 2019 log4j.properties

-rw-r--r-- 1 tidb wheel 1018 Sep 26 2019 log4j_yarn_cluster.properties

-rw-r--r-- 1 root root 5342 Jun 7 18:31 shiro.ini

-rw-r--r-- 1 tidb wheel 5342 Sep 26 2019 shiro.ini.template

-rw-r--r-- 1 tidb wheel 5799 Sep 26 2019 zeppelin-env.cmd.template

-rw-r--r-- 1 root root 8080 Jun 7 18:32 zeppelin-env.sh

-rw-r--r-- 1 tidb wheel 8080 Sep 26 2019 zeppelin-env.sh.template

-rwxr-xr-x 1 root root 20027 Jun 7 18:32 zeppelin-site.xml

-rwxr-xr-x 1 tidb wheel 20027 Sep 26 2019 zeppelin-site.xml.template

 

 

[root@big-master1 conf]# cat shiro.ini

[users]

admin=admin,admin

 

[root@big-master1 conf]# cat zeppelin-site.xml

 

 

zeppelin.server.addr

big-master1

Server binding address

 

zeppelin.server.port

8096

Server port.

 

zeppelin.spark.concurrentSQL

true

Server address

 

zeppelin.anonymous.allowed

false

Anonymous user allowed by default

 

zeppelin.war.tempdir

webapps

Location of jetty temporary directory

 

zeppelin.notebook.dir

notebook

path or URI for notebook persist

 

 

 

[root@big-master1 ~]# zeppelin-daemon.sh stop

Zeppelin stop [ OK ]

[root@big-master1 ~]# zeppelin-daemon.sh start

Zeppelin start [ OK ]

 

[root@big-master1 ~]# jps

30037 JournalNode

10181 HMaster

17255 ZeppelinServer

4023 ResourceManager

29642 DFSZKFailoverController

29804 NameNode

18141 Jps

28141 QuorumPeerMain

[root@big-master1 ~]# ps -ef |grep zeppelin

root 17255 1 0 21:21 pts/0 00:00:47 /usr/local/jdk1.8.0_251/bin/java -Dfile.encoding=UTF-8 -Xms1024m -Xmx1024m -XX:MaxPermSize=512m -Dlog4j.configuration=file:///usr/local/zeppelin/conf/log4j.properties -Dzeppelin.log.file=/usr/local/zeppelin/logs/zeppelin-root-big-master1.log -cp :/usr/local/jdk1.8.0_251/lib/tools.jar/usr/local/jdk1.8.0_251/lib/dt.jar:/usr/local/zeppelin/lib/interpreter/*:/usr/local/zeppelin/lib/*:/usr/local/zeppelin/*::/usr/local/zeppelin/conf:/usr/local/hadoop/etc/hadoop org.apache.zeppelin.server.ZeppelinServer

root 18157 14443 0 22:47 pts/0 00:00:00 grep --color=auto zeppelin

 

 

[root@big-master1 ~]# netstat -aunltp |grep 8096

tcp6 0 0 192.168.41.20:8096 :::* LISTEN 17255/java

tcp6 0 0 192.168.41.20:8096 192.168.40.169:7560 ESTABLISHED 17255/java

 

 

##########################

http://192.168.41.20:8096

你可能感兴趣的:(Zeppelin 部署)