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 2017/09/05 05:36:00 UTC

[jira] [Commented] (SPARK-21916) Set isolationOn=true when create client to remote hive metastore

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

Apache Spark commented on SPARK-21916:
--------------------------------------

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

> Set isolationOn=true when create client to remote hive metastore
> ----------------------------------------------------------------
>
>                 Key: SPARK-21916
>                 URL: https://issues.apache.org/jira/browse/SPARK-21916
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: jin xing
>
> In current code, we set {{isolationOn=!isCliSessionState()}} when create hive client for metadata. However conf of {{CliSessionState}} points to local dummy metastore(https://github.com/apache/spark/blob/master/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveUtils.scala#L416). Using {{CliSessionState}}, we fail to get metadata from remote hive metastore. We can always set {{isolationOn=true}} when create hive client for metadata 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org