Praveen Kanamarlapudi created ZEPPELIN-1675: -----------------------------------------------
Summary: Execution of sql throws null pointer exception Key: ZEPPELIN-1675 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1675 Project: Zeppelin Issue Type: Bug Components: livy-interpreter Affects Versions: 0.7.0 Environment: OS: Linux Reporter: Praveen Kanamarlapudi Steps to reproduce the issue: 1. Restart the livy interpreter. 2. Run a sql as follows {code} %livy.sql show tables {code} In the log we can see an error message as below. {code} INFO [2016-11-16 13:05:51,665] ({pool-1-thread-2} RemoteInterpreterServer.java[createInterpreter]:181) - Instantiate interpreter org.apache.zeppelin.livy.LivySparkSQLInterpreter ERROR [2016-11-16 13:05:51,676] ({pool-1-thread-4} TThreadPoolServer.java[run]:296) - Error occurred during processing of message. java.lang.NullPointerException at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer.getStatus(RemoteInterpreterServer.java:550) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getStatus.getResult(RemoteInterpreterService.java:1782) at org.apache.zeppelin.interpreter.thrift.RemoteInterpreterService$Processor$getStatus.getResult(RemoteInterpreterService.java:1767) 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) INFO [2016-11-16 13:05:51,694] ({pool-1-thread-2} RemoteInterpreterServer.java[createInterpreter]:181) - Instantiate interpreter org.apache.zeppelin.livy.LivySparkInterpreter {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)