hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Conway (JIRA)" <>
Subject [jira] Commented: (HIVE-80) Allow Hive Server to run multiple queries simulteneously
Date Mon, 20 Apr 2009 21:40:47 GMT


Neil Conway commented on HIVE-80:

A reasonable way to implement this might be as follows:

* Change the HiveServer#execute() method to return a unique ID for each active query (this
can just be QueryPlan#getQueryId()).
* Change the rest of the HiveServer methods to be parameterized by the query ID
* Inside HiveServer, create a separate Driver object for each active query
* Perhaps add a HiveServer#close() method that clients can use when they're finished executing
a query

One issue is that if a client dies spontaneously, it might not call close(), which would leak
resources at the server.

Comments? If you're not working on this right now Raghu, I'd be happy to take a crack at it.

> Allow Hive Server to run multiple queries simulteneously
> --------------------------------------------------------
>                 Key: HIVE-80
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Improvement
>          Components: Server Infrastructure
>            Reporter: Raghotham Murthy
>            Assignee: Raghotham Murthy
>            Priority: Critical
>             Fix For: 0.4.0
> 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.

View raw message