Error in running livy spark server in hue

1.5k views Asked by At

When I run following command

hue livy_server

Following error is shown

 Failed to run spark-submit executable: java.io.IOException: Cannot run program "spark-submit": error=2, No such file or directory

I have set SPARK_HOME=/home/amandeep/spark

1

There are 1 answers

1
Romain On BEST ANSWER

If you run Livy on local mode it will except to find the spark-submit script in its environment. Check your shell PATH variable.