File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
repl/scala-2.10/src/main/scala/org/apache/spark/repl Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ class SparkILoop(
206206 // e.g. file:/C:/my/path.jar -> C:/my/path.jar
207207 SparkILoop .getAddedJars.map { jar => new URI (jar).getPath.stripPrefix(" /" ) }
208208 } else {
209- SparkILoop .getAddedJars
209+ SparkILoop .getAddedJars.map { jar => new URI (jar).getPath}
210210 }
211211 // work around for Scala bug
212212 val totalClassPath = addedJars.foldLeft(
@@ -1109,7 +1109,7 @@ object SparkILoop extends Logging {
11091109 if (settings.classpath.isDefault)
11101110 settings.classpath.value = sys.props(" java.class.path" )
11111111
1112- getAddedJars.foreach(settings.classpath.append(_))
1112+ getAddedJars.map(jar => new URI (jar).getPath). foreach(settings.classpath.append(_))
11131113
11141114 repl process settings
11151115 }
You can’t perform that action at this time.
0 commit comments