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


##########
core/src/test/scala/org/apache/spark/scheduler/TaskSetManagerSuite.scala:
##########
@@ -1573,6 +1573,8 @@ class TaskSetManagerSuite
   }
 
   test("SPARK-21563 context's added jars shouldn't change mid-TaskSet") {
+    val jarPath = 
Thread.currentThread().getContextClassLoader.getResource("TestUDTF.jar")

Review Comment:
   I see. But both names are already being used here and there though ... I 
used `testJar` because of:
   
   ```
   val jarPath = 
Thread.currentThread().getContextClassLoader.getResource("TestUDTF.jar").toString
   ```
   
   Otherwise, it fails with `NullpointerException`.
   



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