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

前端 未结 1 1397
抹茶落季
抹茶落季 2021-01-27 12:47

I am new to Apache Zeppelin. Installed 0.8.0 and using 7000 port to access Zeppelin. Configured few paths as mentioned below.

JAVA_HOME: C:\\Program Files\\Java\\jdk1.8

相关标签:
1条回答
  • 2021-01-27 13:05

    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!

    0 讨论(0)
提交回复
热议问题