[ https://issues.apache.org/jira/browse/HIVE-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563440#comment-14563440 ]
Thejas M Nair commented on HIVE-4239: ------------------------------------- The jdbc driver does not allow for concurrent compile to happen within a jdbc session because it has locks around the thrift client calls (actually, its partly a work in progress). However, if you consider Hue to be a mainline scenario, then it happens in mainline scenario. I am not sure about the case with third party odbc drivers. This change has potential to cause even more issues when that happens. So I would reccomend having serial compile within a single session for now. I was wrong when I said the change to make driver.compile syncrhonized would help. We would actually need to synchronize on current SesionState object. > Remove lock on compilation stage > -------------------------------- > > Key: HIVE-4239 > URL: https://issues.apache.org/jira/browse/HIVE-4239 > Project: Hive > Issue Type: Bug > Components: HiveServer2, Query Processor > Reporter: Carl Steinbach > Assignee: Sergey Shelukhin > Attachments: HIVE-4239.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)