Chao Sun created HIVE-14664: ------------------------------- Summary: Move QueryLifeTimeHook out of compilation lock Key: HIVE-14664 URL: https://issues.apache.org/jira/browse/HIVE-14664 Project: Hive Issue Type: Bug Reporter: Chao Sun Assignee: Chao Sun
QueryLifeTimeHook currently triggers inside {{Driver#compile}} method, which is protected by the global compile lock. This poses a potential issue: since one can do anything inside a Hook, even running a Hive query, it may incur potential deadlock. To resolve this, we should consider move it out of the method and perhaps put in {{Driver#compileInternal}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)