Vadim Lositski created ZEPPELIN-1996:
----------------------------------------

             Summary: Scheduled execution of JDBC alias interpeters (like 
%hive) fails
                 Key: ZEPPELIN-1996
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1996
             Project: Zeppelin
          Issue Type: Bug
          Components: zeppelin-zengine
    Affects Versions: 0.6.0
         Environment: HDP 2.5.3, Zeppelin 0.6.0
            Reporter: Vadim Lositski


We have configured following paragraph to run periodically (scheduled cron job 
functionality)
{code}
%hive
select current_timestamp
{code}

This fails with following exception in the logs:
ERROR [2017-01-20 23:59:00,003] ({DefaultQuartzScheduler_Worker-9} 
QuartzScheduler.java[schedulerError]:2425) - Job (note.2C8WZQ8HT threw an 
exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested 
exception: java.lang.NullPointerException]
        at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
        at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)
Caused by: java.lang.NullPointerException
        at org.apache.zeppelin.notebook.Note.runAll(Note.java:404)
        at 
org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java:642)
        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
        ... 1 more
{code}

I suspect that alias intepreters are not handled correctly when running from 
scheduler, please fix this



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to