hvanhovell commented on code in PR #45046:
URL: https://github.com/apache/spark/pull/45046#discussion_r1481443979
##########
connector/connect/client/jvm/src/main/scala/org/apache/spark/sql/SparkSession.scala:
##########
@@ -854,7 +855,7 @@ object SparkSession extends Logging {
// the remote() function, as it takes precedence over the SPARK_REMOTE
environment variable.
private val builder = SparkConnectClient.builder().loadFromEnvironment()
private var client: SparkConnectClient = _
- private[this] val options = new scala.collection.mutable.HashMap[String,
String]
+ private[this] val options = new ConcurrentHashMap[String, String]
Review Comment:
Building a spark session is typically single threaded... Is some actually
having a problem here?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]