Github user gzm0 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4130#discussion_r23546974
  
    --- Diff: 
repl/src/main/scala/org/apache/spark/repl/ExecutorClassLoader.scala ---
    @@ -91,7 +91,14 @@ class ExecutorClassLoader(conf: SparkConf, classUri: 
String, parent: ClassLoader
           inputStream.close()
           Some(defineClass(name, bytes, 0, bytes.length))
         } catch {
    -      case e: Exception => None
    +      case e: FileNotFoundException =>
    +        // We did not find the class
    +        logDebug(s"Did not load class $name from REPL class server at 
$uri", e)
    --- End diff --
    
    It is actually a remote URI: Have a look at the [usage site][1]. It can 
either point to an HTTP server or an HDFS.
    
    [1]: 
https://github.com/gzm0/spark/blob/4fa0582e90ebcf3cbc19971e26c8cda83d5613e1/repl/src/main/scala/org/apache/spark/repl/ExecutorClassLoader.scala#L47


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to