[ 
https://issues.apache.org/jira/browse/SPARK-16795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15399254#comment-15399254
 ] 

Sean Owen commented on SPARK-16795:
-----------------------------------

I'm not super familiar with the thrift server, but generally one process has 
one context, which can handle multiple parallel requests. I am not sure the 
number of contexts matters.

> Spark's HiveThriftServer should be able to use multiple sqlContexts
> -------------------------------------------------------------------
>
>                 Key: SPARK-16795
>                 URL: https://issues.apache.org/jira/browse/SPARK-16795
>             Project: Spark
>          Issue Type: Wish
>    Affects Versions: 2.0.0
>            Reporter: Furcy Pin
>
> It seems that when sending multiple Hive queries to the thrift server, the 
> server cannot parallelize the query plannings, because
> it uses only one global sqlContext.
> This make the server very inefficient at handling many small concurrent 
> queries.
> It would be nice to have it use a pool of sqlContexts instead, with a 
> configurable maximum number of contexts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to