Kent Yao created SPARK-31522: -------------------------------- Summary: Make immutable configs in HiveUtils static Key: SPARK-31522 URL: https://issues.apache.org/jira/browse/SPARK-31522 Project: Spark Issue Type: Bug Components: SQL Affects Versions: 3.1.0 Reporter: Kent Yao
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