You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "dongjoon-hyun (via GitHub)" <gi...@apache.org> on 2024/12/06 23:04:47 UTC
Re: [PR] [SPARK-49249][SPARK-49122] Artifact isolation in Spark Classic [spark]
dongjoon-hyun commented on code in PR #48120:
URL: https://github.com/apache/spark/pull/48120#discussion_r1874105102
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala:
##########
@@ -3937,6 +3937,28 @@ object SQLConf {
.intConf
.createWithDefault(20)
+ val ARTIFACTS_SESSION_ISOLATION_ENABLED =
+ buildConf("spark.sql.artifact.isolation.enabled")
+ .internal()
+ .doc("When enabled for a Spark Session, artifacts (such as JARs, files, archives) added to " +
+ "this session are isolated from other sessions within the same Spark instance. When " +
+ "disabled for a session, artifacts added to this session are visible to other sessions " +
+ "that have this config disabled. This config can only be set during the creation of a " +
+ "Spark Session and will have no effect when changed in the middle of session usage.")
+ .version("4.0.0")
+ .booleanConf
+ .createWithDefault(true)
+
+ val ARTIFACTS_SESSION_ISOLATION_ALWAYS_APPLY_CLASSLOADER =
+ buildConf("spark.sql.artifact.isolation.always.apply.classloader")
Review Comment:
Unfortunately, this looks like a violation of Apache Spark configuration rule. I made a follow-up.
- https://github.com/apache/spark/pull/49101
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org