You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/08/08 06:16:21 UTC

[jira] [Commented] (SPARK-16941) SparkSQLOperationManager shuold use synchronization map to store SessionHandle

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

Apache Spark commented on SPARK-16941:
--------------------------------------

User 'SaintBacchus' has created a pull request for this issue:
https://github.com/apache/spark/pull/14534

> SparkSQLOperationManager shuold use synchronization map to store SessionHandle
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-16941
>                 URL: https://issues.apache.org/jira/browse/SPARK-16941
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 1.5.1, 2.0.0
>            Reporter: carlmartin
>            Priority: Minor
>
> When I had run a high concurrency sql query with thriefserver, I found this error without any previous error:
> *Error: java.util.NoSuchElementException: key not found: SessionHandle [a2ea264f-d29d-43c4-842f-4e0f2a3cf877] (state=,code=0)*
> So I check the code in *SparkSQLOperationManager*, and found the *Map(sessionToContexts and sessionToActivePool)* is not thread safe in it.
> I found this error in version 1.5.1 but I think the last master branch will still have this error.



--
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