Support Questions

Find answers, ask questions, and share your expertise

Zeppelin Java code in paragraph (NullPointerException)

Expert Contributor

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

Expert Contributor

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

View solution in original post

5 REPLIES 5

Expert Contributor

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

Expert Contributor

@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.

Expert Contributor

That is scala code.

Expert Contributor

och, ok, thank you.

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.