Support Questions

Find answers, ask questions, and share your expertise

beeline doesn't start due to missing /bin/spark-class

avatar
Rising Star

Hello,

 

Have you encountered this problem?

 

$ beeline -u jdbc:hive2://
Could not find valid SPARK_HOME while searching ['/home', '/usr/bin']
/usr/bin/beeline: line 32: /bin/spark-class: No such file or directory
/usr/bin/beeline: line 32: exec: /bin/spark-class: cannot execute: No such file or directory
2 REPLIES 2

avatar
Super Guru
What version of Hive are you using? If you are using CDH, which version of CDH are you using?

Have you tried to set SPARK_HOME environment variable?

avatar
New Contributor

use below command to resolve this issue, it will create system link for that service.

alternatives --config spark