You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2016/07/29 12:30:20 UTC
[jira] [Commented] (SPARK-16795) Spark's HiveThriftServer should be
able to use multiple sqlContexts
[ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org