Hi,
I am pretty new to Zeppelin and I'm trying to make it work using a
vagrant setup [1,2].
However, when I want to execute some java code in zeppelin from the
tutorial the interface switches to 'Running' but stays at 0%.
When looking into the log files I see this NullPointerException:
ERROR [2016-03-04 09:10:20,001] ({DefaultQuartzScheduler_Worker-3}
JobRunShell.java[run]:211) - Job note.2AXWE6MRR threw an unhandled Exception:
java.lang.NullPointerException
at org.apache.zeppelin.notebook.Note.runAll(Note.java:351)
at
org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:417)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
ERROR [2016-03-04 09:10:20,001] ({DefaultQuartzScheduler_Worker-3}
QuartzScheduler.java[schedulerError]:2425) - Job (note.2AXWE6MRR threw an
exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See
nested exception: java.lang.NullPointerException]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException
at org.apache.zeppelin.notebook.Note.runAll(Note.java:351)
at
org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:417)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
... 1 more
I already updated to Spark v1.6.0, Hadoop v2.6, and Zeppelin v0.5.6 but
the problem still exists.
The line [3] that issues this problem is this:
public void runAll() {
synchronized (paragraphs) {
for (Paragraph p : paragraphs) {
p.setNoteReplLoader(replLoader);
p.setListener(jobListenerFactory.getParagraphJobListener(this));
Interpreter intp = replLoader.get(p.getRequiredReplName());
intp.getScheduler().submit(p); // <<-- !! NullPointerException HERE !!
}
}
}
Any ideas how to fix this?
Thanks,
Manuel
[1] https://github.com/arjones/vagrant-spark-zeppelin
[2]
http://arjon.es/2015/08/23/vagrant-spark-zeppelin-a-toolbox-to-the-data-analyst/
[3]
https://github.com/apache/incubator-zeppelin/blob/branch-0.5.6/zeppelin-zengine/src/main/java/org/apache/zeppelin/notebook/Note.java#L351