I use only Spark interpreter. I printed SPARK_HOME in shell interpreter and
that didn't have any issue.
I can have just these 2 lines and it will throw error.
%pyspark
from pyspark import SparkContext

Once I restart Zeppelin daemon from then on no issues.

-Thanks
Nikhil

On Wed, Jul 5, 2017 at 9:46 AM, arpit tak <arpit....@gmail.com> wrote:

> Hi Nikhil ,
> Is it happening only one one interpreter or on all interpreter.
> Also share command you writing.
> > On Jul 5, 2017, at 9:38 AM, Nikhil Utane <nikhil.subscri...@gmail.com>
> wrote:
> >
> > Hi,
> >
> > Whenever I create a new notebook and run a paragraph, I get the
> NullPointerException error. If I run from an existing notebook then no
> problem.
> >
> > java.lang.NullPointerException
> >     at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:38)
> >     at org.apache.zeppelin.spark.Utils.invokeMethod(Utils.java:33)
> >     at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext_2(
> SparkInterpreter.java:391)
> >     at org.apache.zeppelin.spark.SparkInterpreter.createSparkContext(
> SparkInterpreter.java:380)
> >     at org.apache.zeppelin.spark.SparkInterpreter.getSparkContext(
> SparkInterpreter.java:146)
> >     at org.apache.zeppelin.spark.SparkInterpreter.open(
> SparkInterpreter.java:828)
> >
> > I workaround the problem by restarting the Zeppelin daemon. Saw other
> instances of this error but resolution given was it is fixed in 0.7.2
> version which is what I am using. Anybody else facing the same problem?
> Have I missed something in configuration?
> >
> > Thanks & Regards
> > Nikhil
>
>

Reply via email to