[
https://issues.apache.org/jira/browse/SPARK-4103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Owen resolved SPARK-4103.
------------------------------
Resolution: Duplicate
PR also suggests that this is resolved by SPARK-4037
> Clean up SessionState in HiveContext
> ------------------------------------
>
> Key: SPARK-4103
> URL: https://issues.apache.org/jira/browse/SPARK-4103
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Zhan Zhang
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> Currently the sessionState in HiveContext is lazy, and to start the session,
> SessionState.start() has to be invoked to initialize it. Using ThreadLocal
> variable natively in hive to track the availability of SessionState and
> initialize it if required. It avoid multiple thread share the same
> SessionState and single thread invoke SessionState.start with the same
> SessionState multiple times, which seems to cause unexpected behavior.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]