ZEPPELIN部署接入华为云MRS
-
- 安装zeppelin
- 配置Spark连接
- 常见问题
-
- 连接pg报错 Py4JJavaError: An error occurred while calling o779.load. : org.postgresql.util.PSQLException: The authentication type 5 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver.
- Zeppelin 无法正常运行本地Python环境
安装zeppelin
在网址https://zeppelin.apache.org/download.html下载安装包,
解压后,设置安装新的安装目录/opt/zeppelin
tar -zxvf zeppelin-0.10.1-bin-all.tgz
mv zeppelin-0.10.1-bin-all /opt/zeppelin
配置zeppelin环境变量,在profile文件中加入环境变量
vi /etc/profile
export ZEPPELIN_HOME=/opt/zeppelin
export PATH=$ZEPPELIN_HOME/bin:$PATH
source /etc/profile
编辑zeppelin-env.sh文件,加入JAVA_HOME,位置/opt/zeppelin/conf
cd /opt/zeppelin/conf/
cp zeppelin-env.sh.template zeppelin-env.sh
source /opt/client/bigdata_env
echo $JAVA_HOME
echo "export JAVA_HOME=/opt/client/JDK/jdk1.8.0_302">>zeppelin-env.sh
编辑zeppelin-site.xml文件,修改以下配置
cd /opt/zeppelin/conf
cp zeppelin-site.xml.template zeppelin-site.xml
vi zeppelin-site.xml
<property>
<name>zeppelin.server.addr</name>
<value>192.168.22.157</value>
<description>Server binding address</description>
</property>
<property>
<name>zeppelin.server.port</name>
<value>8081</value>
<description>Server port.</description>
</property>
<property>
<name>zeppelin.ssl</name>
<value>true<