cloud-fan commented on code in PR #44294:
URL: https://github.com/apache/spark/pull/44294#discussion_r1436984060


##########
core/src/main/scala/org/apache/spark/SparkContext.scala:
##########
@@ -379,6 +380,14 @@ class SparkContext(config: SparkConf) extends Logging {
     override protected def initialValue(): Properties = new Properties()
   }
 
+  private[spark] def cachedArrowBatchServerPort: Int = {
+    _cachedArrowBatchServer.get.serverSocket.getLocalPort
+  }
+
+  private[spark] def cachedArrowBatchServerSecret: String = {

Review Comment:
   should return Option?



-- 
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-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to