cocdkl commented on issue #406:
URL: https://github.com/apache/incubator-livy/issues/406#issuecomment-1566368145

   再次感谢您回答我的问题
   以下是我环境变量的配置
   export 
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
   export JAVA_HOME=/home/cocdkl/soft/jdk1.8.0_371
   export HADOOP_HOME=/home/cocdkl/soft/hadoop-3.3.0
   export HADOOP_CONF_DIR=${HADOOP_HOME}/etc/hadoop
   export HIVE_HOME=/home/cocdkl/soft/apache-hive-3.1.2-bin
   export HIVE_CONF_DIR=/home/cocdkl/soft/apache-hive-3.1.2-bin/conf
   #export HIVE_HOME=/home/cocdkl/soft/apache-hive-3.1.3-bin
   #export HIVE_CONF_DIR=/home/cocdkl/soft/apache-hive-3.1.3-bin/conf
   #export SPARK_HOME=/home/cocdkl/soft/spark-3.0.3-bin-hadoop3.2
   #export SPARK_HOME=/home/cocdkl/soft/spark-3.3.0-bin-hadoop3
   #export SPARK_HOME=/home/cocdkl/soft/spark-2.3.0-bin-hadoop2.7
   export SPARK_HOME=/home/cocdkl/soft/spark-3.2.4-bin-hadoop2.7
   #export SPARK_HOME=/home/cocdkl/soft/spark-2.4.8-bin-without-hadoop
   export SCALA_HOME=/home/cocdkl/soft/scala-2.13.8
   export HBASE_HOME=/home/cocdkl/soft/hbase-2.4.15
   export ZOOKEEPER_HOME=/home/cocdkl/soft/apache-zookeeper-3.7.1-bin
   export PATH=$JAVA_HOME/bin:$PATH
   export PATH=$HADOOP_HOME/bin:$HADOOP_HOME/sbin:$PATH
   export PATH=$HIVE_HOME/bin:$PATH
   export PATH=$SPARK_HOME/bin:$PATH
   export PATH=$SCALA_HOME/bin:$PATH
   export PATH=$HBASE_HOME/bin:$PATH
   export PATH=$ZOOKEEPER_HOME/bin:$PATH
   export CLASSPATH=''
   export HADOOP_CLASSPATH=`hadoop classpath`
   #export HADOOP_CLASSPATH=/home/cocdkl/soft/HADOOP_CLASSPATH/*
   
   已经设置了SPARK_HOME,但是还是执行find_spark_home.py,这也是我奇怪的地方。


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to