--zeppelin 下載下傳位址
https://downloads.apache.org/zeppelin/
http://zeppelin.apache.org/download.html
[[email protected] 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
[[email protected] ~]# cd /usr/local/zeppelin/
[[email protected] zeppelin]# ls
bin conf interpreter lib LICENSE licenses notebook NOTICE README.md zeppelin-web-0.8.2.war
[[email protected] zeppelin]# cd conf/
[[email protected] 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
[[email protected] conf]# cp shiro.ini.template shiro.ini
[[email protected] conf]# cp zeppelin-env.sh.template zeppelin-env.sh
[[email protected] conf]# cp zeppelin-site.xml.template zeppelin-site.xml
[[email protected] 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
[[email protected] conf]# cat shiro.ini
[users]
admin=admin,admin
[[email protected] conf]# cat zeppelin-site.xml
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl" target="_blank" rel="external nofollow" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<configuration>
<property>
<!-- zeppelin服務所在的IP位址 -->
<name>zeppelin.server.addr</name>
<value>big-master1</value>
<description>Server binding address</description>
</property>
<property>
<!-- zeppelin服務使用的端口,預設是8080,如果被占用請修改,此改為8096 -->
<name>zeppelin.server.port</name>
<value>8096</value>
<description>Server port.</description>
</property>
<!-- <value>8080</value> -->
<!-- zeppelin 能同時執行多個sparksql,預設為false -->
<property>
<name>zeppelin.spark.concurrentSQL</name>
<value>true</value>
<description>Server address</description>
</property>
<!-- Secure the Websocket Channle,是為了實作zeppelin多使用者登陸使用 -->
<!-- 禁止匿名使用者直接通路Zeppelin系統 -->
<property>
<name>zeppelin.anonymous.allowed</name>
<value>false</value>
<description>Anonymous user allowed by default</description>
</property>
<property>
<name>zeppelin.war.tempdir</name>
<value>webapps</value>
<description>Location of jetty temporary directory</description>
</property>
<property>
<name>zeppelin.notebook.dir</name>
<value>notebook</value>
<description>path or URI for notebook persist</description>
</property>
</configuration>
[[email protected] ~]# zeppelin-daemon.sh stop
Zeppelin stop [ OK ]
[[email protected] ~]# zeppelin-daemon.sh start
Zeppelin start [ OK ]
[[email protected] ~]# jps
30037 JournalNode
10181 HMaster
17255 ZeppelinServer
4023 ResourceManager
29642 DFSZKFailoverController
29804 NameNode
18141 Jps
28141 QuorumPeerMain
[[email protected] ~]# 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
[[email protected] ~]# 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