Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/849#discussion_r12927311
--- Diff: repl/src/main/scala/org/apache/spark/repl/SparkILoop.scala ---
@@ -993,7 +993,11 @@ object SparkILoop {
implicit def loopToInterpreter(repl: SparkILoop): SparkIMain = repl.intp
private def echo(msg: String) = Console println msg
- def getAddedJars: Array[String] =
Option(System.getenv("ADD_JARS")).map(_.split(',')).getOrElse(new
Array[String](0))
+ def getAddedJars: Array[String] = {
+ val envJars = sys.env.get("ADD_JARS")
--- End diff --
Would it make sense to just merge the two lists rather than chose one or
the other?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---