turboFei commented on code in PR #41201:
URL: https://github.com/apache/spark/pull/41201#discussion_r1199937113


##########
core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala:
##########
@@ -414,6 +414,9 @@ private[spark] class SparkSubmit extends Logging {
         // directory too.
         // SPARK-33782 : This downloads all the files , jars , archiveFiles 
and pyfiles to current
         // working directory
+        // SPARK-43540: add current working directory into classpath
+        val workingDirectory = "."
+        childClasspath += workingDirectory

Review Comment:
   how about now? @advancedxy 
   I checked the code, for driver, if just leverage the `entrypoint.sh`, it is 
difficult to keep the behavior as mentioned above.
   
   So I just leverage the `entrypoint.sh` for executor. 
   
   



-- 
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]

Reply via email to