You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Arvind Prabhakar (JIRA)" <ji...@apache.org> on 2010/05/14 23:54:49 UTC
[jira] Commented: (HIVE-80) Allow Hive Server to run multiple
queries simulteneously
[ https://issues.apache.org/jira/browse/HIVE-80?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867693#action_12867693 ]
Arvind Prabhakar commented on HIVE-80:
--------------------------------------
I wanted to fix this JIRA and so started looking at it. From what I have observed it appears that the {{HiveServer}} *is* multi-thread capable. Specifically:
* The {{HiveServer}} is using a {{TThreadPoolServer}} which is multi-threaded.
* The {{ThriftHiveProcessorFactory}} overrides the {{getProcessor()}} call and returns a new instance of {{HiveServerHandler}} on every invokation.
* Every instance of {{HiveServerHandler}} has its own thread local session state and a private driver instance.
* Query execution is thread safe thanks to HIVE-77.
Give the above, I believe that this JIRA should be marked closed and resolved. If you think I missed something in my analysis, can you please point that out?
> Allow Hive Server to run multiple queries simulteneously
> --------------------------------------------------------
>
> Key: HIVE-80
> URL: https://issues.apache.org/jira/browse/HIVE-80
> Project: Hadoop Hive
> Issue Type: Improvement
> Components: Server Infrastructure
> Reporter: Raghotham Murthy
> Assignee: Neil Conway
> Priority: Critical
> Attachments: hive_input_format_race-2.patch
>
>
> Can use one driver object per query.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.