Kshitij Badani created ZEPPELIN-2108:
----------------------------------------

             Summary: Livy interpreter job cancellation throws NPE
                 Key: ZEPPELIN-2108
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2108
             Project: Zeppelin
          Issue Type: Bug
          Components: zeppelin-interpreter
    Affects Versions: 0.7.0
            Reporter: Kshitij Badani
             Fix For: 0.7.0


Try to run a long running paragraph with %livy interpreter. While the paragraph 
is running, try to click on cancel button (little pause sign on the paragraph). 
After a few seconds, it cancels running the paragraph. But also throws 
following NPE

java.lang.NullPointerException
        at 
org.apache.zeppelin.livy.BaseLivyInterprereter.getResultFromStatementInfo(BaseLivyInterprereter.java:302)
        at 
org.apache.zeppelin.livy.BaseLivyInterprereter.interpret(BaseLivyInterprereter.java:257)
        at 
org.apache.zeppelin.livy.BaseLivyInterprereter.interpret(BaseLivyInterprereter.java:140)
        at 
org.apache.zeppelin.interpreter.LazyOpenInterpreter.interpret(LazyOpenInterpreter.java:94)
        at 
org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:495)
        at org.apache.zeppelin.scheduler.Job.run(Job.java:175)
        at 
org.apache.zeppelin.scheduler.FIFOScheduler$1.run(FIFOScheduler.java:139)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        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)




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to