Error in running livy spark server in hue

佐手、 提交于 2019-12-11 10:46:07

问题


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:


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



来源:https://stackoverflow.com/questions/31014656/error-in-running-livy-spark-server-in-hue

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!