Getting error while running spark programs in Apache Zeppelin in Windows 10 or 7

拜拜、爱过 提交于 2019-12-02 07:32:45

I faced a similar issue. Kept coming back to this question in case someone solves it.

This link will help you!

If you do not wish to go through the steps, simply delete the SPARK_HOME environment variable. Zeppelin has it's own library of spark jars. Next go to

%Zeppelin_HOME%\conf\

and rename

zeppelin-env.cmd.template to zeppelin-env.cmd

and add following lines:

set JAVA="C:\Program Files\Java\jdk1.8.0_181"
set JAVA_HOME="%JAVA%"

Make sure you enter the correct path to your jdk. Save it and start zepplin with the command bin\zeppelin.cmd
Your zeppelin with Spark is ready! Confirm by running any simple code: For example, sc.version

Hope this helps!

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