Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Highlighted

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

Contributor

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

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

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?

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

New Contributor

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

alternatives --config spark

Don't have an account?
Coming from Hortonworks? Activate your account here