Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Zeppelin Java code in paragraph (NullPointerException)

avatar
Super Collaborator

Hi,

How to configure Java code to work? When I type Java code in the paragraph with no prefix (%) I got NullPointerException in log and nothing on the screen (only word "Error").

Thank you in advance.

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
5 REPLIES 5

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Super Collaborator

@jzhang

I am using Zeppelin 0.6.0 and there is a template Notebook "Zeppelin Tutorial" that uses Java code with no prefix and it works.

avatar
Super Collaborator

That is scala code.

avatar
Super Collaborator

och, ok, thank you.

But there is still no prefix so it uses %spark right?

avatar
Master Mentor

@Edgar Daeds In Apache Zepplin 0.7 there will be an Apache Beam Interpreter that by default will have Java REPL. You can use Beam API to work with Spark, Flink, Mapreduce and Google Dataflow https://zeppelin.apache.org/docs/0.7.0-SNAPSHOT/interpreter/beam.html