gatorsmile commented on a change in pull request #25849: [SPARK-29175][SQL]
Make maven central repository in IsolatedClientLoader configurable
URL: https://github.com/apache/spark/pull/25849#discussion_r326355220
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala
##########
@@ -1979,6 +1979,13 @@ object SQLConf {
.doc("When true, the ArrayExists will follow the three-valued boolean
logic.")
.booleanConf
.createWithDefault(true)
+
+ private[spark] val CENTRAL_REPOSITORY =
+ ConfigBuilder("spark.sql.centralRepository")
+ .doc("The default central repository used for downloading Hive jars " +
Review comment:
Yeah. Many different reasons. For example, the maven central could block a
certain IP if we download the same JAR too many times. Google mirror does not
block the IP in general. Another sad example is the IP could be blocked by
Great Firewall when the guys are running it in China.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]