HyukjinKwon commented on code in PR #41495:
URL: https://github.com/apache/spark/pull/41495#discussion_r1255249954


##########
core/src/main/scala/org/apache/spark/executor/Executor.scala:
##########
@@ -513,11 +513,10 @@ private[spark] class Executor(
     override def run(): Unit = {
 
       // Classloader isolation
-      val isolatedSessionUUID: Option[String] = taskDescription.artifacts.uuid
-      val isolatedSession = isolatedSessionUUID match {
-        case Some(uuid) => isolatedSessionCache.get(
-          uuid,
-          () => newSessionState(uuid, 
taskDescription.artifacts.replClassDirUri))
+      val isolatedSession = taskDescription.artifacts.state match {

Review Comment:
   Yeah, I think with the helper instance, it makes much more sense now.



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