You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Cliff Resnick (JIRA)" <ji...@apache.org> on 2009/08/31 05:31:32 UTC

[jira] Updated: (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:all-tabpanel ]

Cliff Resnick updated HIVE-80:
------------------------------

    Attachment: org.apache.hadoop.hive.ql.exec.Utilities-ThreadLocal.patch

I'm attaching a patch to org.apache.hadoop.hive.ql.exec.Utilities. Currently this class has a static field instance of type mapredWork. Changing the reference to ThreadLocal has eliminated the race conditions we found while executing several concurrent queries through a simple HiveConnection pool. 


> 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
>             Fix For: 0.4.0
>
>         Attachments: hive_input_format_race-2.patch, org.apache.hadoop.hive.ql.exec.Utilities-ThreadLocal.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.