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

    https://github.com/apache/spark/pull/8872#discussion_r49891184
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
 ---
    @@ -358,9 +358,10 @@ private[spark] class MesosClusterScheduler(
         val appJar = CommandInfo.URI.newBuilder()
           
.setValue(desc.jarUrl.stripPrefix("file:").stripPrefix("local:")).build()
         val builder = CommandInfo.newBuilder().addUris(appJar)
    -    val entries =
    -      (conf.getOption("spark.executor.extraLibraryPath").toList ++
    -        desc.command.libraryPathEntries)
    +    val entries = conf.getOption("spark.executor.extraLibraryPath")
    +      .map(path => Seq(path) ++ desc.command.libraryPathEntries)
    +      .getOrElse(desc.command.libraryPathEntries)
    --- End diff --
    
    Let me try again, but when I was running the unit tests it gives me a NPE 
for some reason, and been a while since I ran this.


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