cloud-fan commented on code in PR #49930: URL: https://github.com/apache/spark/pull/49930#discussion_r1956944888
########## launcher/src/main/java/org/apache/spark/launcher/SparkSubmitCommandBuilder.java: ########## @@ -151,6 +151,12 @@ class SparkSubmitCommandBuilder extends AbstractCommandBuilder { OptionParser parser = new OptionParser(true); parser.parse(submitArgs); this.isSpecialCommand = parser.isSpecialCommand; + boolean connectByDefault = "1".equals(System.getenv("SPARK_CONNECT_MODE")) Review Comment: ```suggestion boolean connectByDefault = "1".equals(System.getenv("SPARK_CONNECT_MODE")); ``` -- 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