cloud-fan commented on code in PR #44294:
URL: https://github.com/apache/spark/pull/44294#discussion_r1436443250
##########
core/src/main/scala/org/apache/spark/SparkContext.scala:
##########
@@ -379,6 +380,12 @@ class SparkContext(config: SparkConf) extends Logging {
override protected def initialValue(): Properties = new Properties()
}
+ private var _cachedArrowBatchServerPort: Option[Int] = None
+ private[spark] def cachedArrowBatchServerPort: Int =
_cachedArrowBatchServerPort.get
+
+ private var _cachedArrowBatchServerSecret: Option[String] = None
Review Comment:
Do we need the above two `var`s? Seems we can easily get it from
`_cachedArrowBatchServer`
--
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]