We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e105e1 commit ed01491Copy full SHA for ed01491
core/src/main/scala/org/apache/spark/util/Utils.scala
@@ -1312,7 +1312,7 @@ private[spark] object Utils extends Logging {
1312
def sparkJavaOpts(conf: SparkConf, filterKey: (String => Boolean) = _ => true): Seq[String] = {
1313
conf.getAll
1314
.filter { case (k, _) => filterKey(k) }
1315
- .map { case (k, v) => "-D" + k + "=\\\"" + v + "\\\"" }
+ .map { case (k, v) => s"-D$k=$v" }
1316
}
1317
1318
0 commit comments