Hi to all,
i'm developing an intepreter for apache zeppelin (EclairJS:
https://github.com/conker84/incubator-zeppelin/tree/master/eclairjs), and i
have some questions.
1) How can i debug Zeppelin via eclipse in order to get all the intepreters?
2) When i try to execute a sample script like this:

%eclairjs
var df = sqlContext.read().format("com.databricks.spark.csv")
    .option("header", "true")
    .option("inferSchema", "true")
    .option("delimiter", ";")
    .load("file:///home/labcamp/Downloads/bank.csv");
df.registerTempTable("prova");
df.count();

It's execution seems to be ok (it returns the correct count) but the status
has "ERROR" state; looking through the logs i have found that the cause is
this exception:

ERROR [2016-05-30 23:32:00,567] ({pool-1-thread-2}
TThreadPoolServer.java[run]:296) - Error occurred during processing of
message.
java.lang.NullPointerException
at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.getStatus(RemoteInterpreterServer.java:504)
at
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getStatus.getResult(RemoteInterpreterService.java:1573)
at
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getStatus.getResult(RemoteInterpreterService.java:1558)
at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
at
org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:285)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Why? What i miss?
Thanks to everyone!

Reply via email to