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

I don't think currently there's any java interpreter for zeppelin.

View solution in original post

5 REPLIES 5

avatar
Super Collaborator

I don't think currently there's any java interpreter for zeppelin.

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