Re: NPE in SparkInterpreter.java

2017-06-27 Thread Serega Sheypak
It was my fault, I'm so sorry, I've recompiled zeppelin for scala 2.11 to make it run with cloudera spark 2.0 and used scala 2.10 third party libs. I replaced them with 2.11 versions and it started to work вт, 27 июня 2017 г. в 9:52, Serega Sheypak : > Hi, I'm stuck. > I think I've localized the

Re: NPE in SparkInterpreter.java

2017-06-27 Thread Serega Sheypak
Hi, I'm stuck. I think I've localized the problem. I get non-obvious NPE when I try to add 3rd party jars to spark interpreter using any approach metioned in documentation. Zeppelin works fine for me when I just read text (no external dependencies needed.) 2017-06-26 23:29 GMT+02:00 Richard Xin :

Re: NPE in SparkInterpreter.java

2017-06-26 Thread Richard Xin
just try to understand the comment in the code:// Some case, scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call throws an NPE what are the "Some case", it sounds like Zeppelin developers are not sure how it happened and how to prevent it? I am trying to make a strong case for my company to swi

Re: NPE in SparkInterpreter.java

2017-06-26 Thread Serega Sheypak
Hi, I have more or less the same symptom if (Utils.isScala2_10()) { binder = (Map) getValue("_binder"); } else { binder = (Map) getLastObject(); } binder.put("sc", sc); // EXCEPTION HERE java.lang.NullPointerException at org.apache.zeppelin.spark.SparkInterpreter.open(SparkInterpreter.java:

Re: NPE in SparkInterpreter.java

2017-06-26 Thread Richard Xin
Anyone? On Thursday, June 22, 2017, 3:00:01 PM PDT, Richard Xin wrote: apache/zeppelin | | | | | | | | | | | apache/zeppelin zeppelin - Mirror of Apache Zeppelin | | | in the code I see // Some case, scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call throws an NPE We