[
https://issues.apache.org/jira/browse/HIVE-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14561988#comment-14561988
]
Sergey Shelukhin edited comment on HIVE-4239 at 5/27/15 11:35 PM:
------------------------------------------------------------------
Made it specific to HS2 and configurable in case bugs are found.
The provided unit test passes; I also tried it with explain queries on HS2 on a
cluster here, submitting from 5-20 threads (same explain), and it appears to
work; I can also see logs showing compile is parallel, and corresponding
increase in throughput.
Note: all the testing was done before I cleaned up the patch and added config
setting, so I will redo some of it.
SemanticAnalyzer and such do not appear to have much shared state. HiveSession*
stuff is the main source of shared state. Provided unit test runs all the
parallel queries in the same session.
was (Author: sershe):
Made it specific to HS2 and configurable in case bugs are found.
The provided unit test passes; I also tried it with explain queries on HS2 on a
cluster here, submitting from 5-20 threads (same explain), and it appears to
work; I can also see logs showing compile is parallel, and corresponding
increase in throughput
> 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)