hvanhovell commented on code in PR #49107: URL: https://github.com/apache/spark/pull/49107#discussion_r1931413884
########## core/src/main/scala/org/apache/spark/deploy/PythonRunner.scala: ########## @@ -52,9 +53,13 @@ object PythonRunner { // Format python file paths before adding them to the PYTHONPATH val formattedPythonFile = formatPath(pythonFile) val formattedPyFiles = resolvePyFiles(formatPaths(pyFiles)) + lazy val apiMode = sparkConf.get( + "spark.api.mode", "classic").toLowerCase(Locale.ROOT) Review Comment: Use the conf value? -- 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