jin xing created SPARK-21916:
--------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to