Prasad Wagle created ZEPPELIN-1755: -------------------------------------- Summary: CronJob.execute thread hangs because of a race condition Key: ZEPPELIN-1755 URL: https://issues.apache.org/jira/browse/ZEPPELIN-1755 Project: Zeppelin Issue Type: Bug Reporter: Prasad Wagle Priority: Minor
If paragraph is created while the scheduled report is executing, its status is READY. This causes CronJob.execute thread to hang in the "while (!note.isTerminated())" loop. "QuartzScheduler_Worker-2" #42 prio=5 os_prio=31 tid=0x00007faa9c7b5000 nid=0x6f13 waiting on condition [0x000000012e2aa000] java.lang.Thread.State: TIMED_WAITING (sleeping) at java.lang.Thread.sleep(Native Method) at org.apache.zeppelin.notebook.Notebook$CronJob.execute(Notebook.java: 836) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool. java:573) - locked <0x0000000780295f10> (a java.lang.Object) -- This message was sent by Atlassian JIRA (v6.3.4#6332)