You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zeppelin.apache.org by "Li Sheng (JIRA)" <ji...@apache.org> on 2017/01/12 00:23:16 UTC
[jira] [Created] (ZEPPELIN-1941) Zeppelin CronJob with release
option result in deadlock
Li Sheng created ZEPPELIN-1941:
----------------------------------
Summary: Zeppelin CronJob with release option result in deadlock
Key: ZEPPELIN-1941
URL: https://issues.apache.org/jira/browse/ZEPPELIN-1941
Project: Zeppelin
Issue Type: Bug
Components: Interpreters
Affects Versions: 0.6.2, 0.6.1, 0.6.0
Reporter: Li Sheng
Fix For: 0.7.0
There is a deadlock in concurrent cron job with release resource option.
Scenario:
Two notebook run with cron job that release resource after job finished.
In Notebook.CronJob.execute() method:
T1. note.runAll(); // locked paragraphs(lock) and wait to interpreterSettings(lock)
T2. notebook.getInterpreterFactory().restart() //locked(interpreterSettings) and wait for paragraphs(lock) during jobAbort.
This will trigger a deadlock that cause zeppelin hang.
Detail stack trace please refer `deadlock_cronjob.jstack`
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)