You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Nikhil Utane <ni...@gmail.com> on 2017/07/05 04:08:42 UTC
Zeppelin [0.7.2]: NullPointerException on executing paragraph from a
new Notebook
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
Re: Zeppelin [0.7.2]: NullPointerException on executing paragraph
from a new Notebook
Posted by Nikhil Utane <ni...@gmail.com>.
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 <ar...@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 <ni...@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
>
>
Re: Zeppelin [0.7.2]: NullPointerException on executing paragraph from a new Notebook
Posted by arpit tak <ar...@gmail.com>.
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 <ni...@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