Qihong Wu created ZEPPELIN-5149:
-----------------------------------
Summary: NPE in RemoteInterpreterServer#interpret
Key: ZEPPELIN-5149
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5149
Project: Zeppelin
Issue Type: Bug
Reporter: Qihong Wu
This is the same bug in https://issues.apache.org/jira/browse/ZEPPELIN-4829#.
Reproduce step is to run any query with %livy.sql interpreter in zeppelin, for
example
--------------------
%livy.sql
show databases
--------------------
The bug is caused by two NPEs and the solution in ZEPPELIN-4829 only resolved
the first NPE. With v0.9.0-preview2, I still can reproduce the same error with
log
{quote}
ERROR [2020-12-01 07:28:58,404] (\{pool-2-thread-1}
ProcessFunction.java[process]:47) - Internal error processing interpretERROR
[2020-12-01 07:28:58,404] (\{pool-2-thread-1} ProcessFunction.java[process]:47)
- Internal error processing interpretjava.lang.NullPointerException at
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.interpret(RemoteInterpreterServer.java:624)
at
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$interpret.getResult(RemoteInterpreterService.java:1646)
at
org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$interpret.getResult(RemoteInterpreterService.java:1626)
at
org.apache.zeppelin.shaded.org.apache.thrift.ProcessFunction.process(ProcessFunction.java:38)
at
org.apache.zeppelin.shaded.org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:38)
at
org.apache.zeppelin.shaded.org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:313)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
{quote}
The unresolved NPE is
[https://github.com/apache/zeppelin/blob/v0.9.0-preview2/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/remote/RemoteInterpreterServer.java#L624]
I don't see the error in v0.8.0.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)