[ 
https://issues.apache.org/jira/browse/SPARK-31522?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan resolved SPARK-31522.
---------------------------------
    Fix Version/s: 3.0.0
       Resolution: Fixed

Issue resolved by pull request 28302
[https://github.com/apache/spark/pull/28302]

> Hive metastore client initialization related configurations should be static 
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-31522
>                 URL: https://issues.apache.org/jira/browse/SPARK-31522
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.2, 2.1.3, 2.2.3, 2.3.4, 2.4.5, 3.0.0, 3.1.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Major
>             Fix For: 3.0.0
>
>
> The following configurations defined in HiveUtils should be considered static:
>  # spark.sql.hive.metastore.version - used to determine the hive version in 
> Spark
>  # spark.sql.hive.version - the fake of the above
>  # spark.sql.hive.metastore.jars - hive metastore related jars location which 
> is used by spark to create hive client
>  # spark.sql.hive.metastore.sharedPrefixes and 
> spark.sql.hive.metastore.barrierPrefixes -  packages of classes that are 
> shared or separated between SparkContextLoader and hive client class loader
> Those are used only once when creating the hive metastore client. They should 
> be static in SQLConf for retrieving them correctly. We should avoid them 
> being changed by users with SET/RESET command. They should 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to