jdk Hadoop Spark Hive Zookeeper环境变量
下载地址:http://mirrors.linuxeye.com/jdk/jdk-8u231-linux-x64.tar.gz
# 编辑 profile
vim /etc/profile
# JDK
export JAVA_HOME=/usr/java/jdk1.8.0_231
export CLASSPATH=$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib
export PATH=$JAVA_HOME/bin:$PATH
# zookeeper
export ZK_HOME=/usr/local/zookeeper
export PATH=$ZK_HOME/bin:$PATH
# hadoop
export HADOOP_HOME=/usr/local/hadoop
export LD_LIBRARY_PATH=$HADOOP_HOME/lib/native
export PATH=$HADOOP_HOME/bin:$PATH
# spark
export SPARK_HOME=/usr/local/spark
export PATH=$SPARK_HOME/bin:$PATH
# hive
export HIVE_HOME=/usr/local/hive
export PATH=$PATH:$HIVE_HOME/bin
# 刷新
source /etc/profile
版权声明:
作者:Akiraka
链接:https://www.akiraka.net/linux/74.html
来源:Akiraka
文章版权归作者所有,未经允许请勿转载。
THE END
0
二维码
海报
jdk Hadoop Spark Hive Zookeeper环境变量
下载地址:http://mirrors.linuxeye.com/jdk/jdk-8u231-linux-x64.tar.gz
# 编辑 profile
vim /etc/profile
# JDK
export JAVA_HOME=/usr/java/jdk1.8.0_23……
文章目录
关闭