Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/23102#discussion_r236347084
--- Diff: core/src/main/scala/org/apache/spark/deploy/DependencyUtils.scala
---
@@ -61,11 +61,13 @@ private[deploy] object DependencyUtils extends Logging {
hadoopConf: Configuration,
secMgr: SecurityManager): String = {
val targetDir = Utils.createTempDir()
+ val fileSeparator = Pattern.quote(File.separator)
--- End diff --
This should be OK in Scala:
```
scala> "foo\\bar".split('\\')
res2: Array[String] = Array(foo, bar)
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]