Github user mgaido91 commented on a diff in the pull request:
https://github.com/apache/spark/pull/21514#discussion_r202977126
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/cluster/StandaloneSchedulerBackend.scala
---
@@ -99,8 +99,10 @@ private[spark] class StandaloneSchedulerBackend(
// Start executors with a few necessary configs for registering with
the scheduler
val sparkJavaOpts = Utils.sparkJavaOpts(conf,
SparkConf.isExecutorStartupConf)
val javaOpts = sparkJavaOpts ++ extraJavaOpts
- val command =
Command("org.apache.spark.executor.CoarseGrainedExecutorBackend",
- args, sc.executorEnvs, classPathEntries ++ testingClassPath,
libraryPathEntries, javaOpts)
+ val javaOptsFiltered = javaOpts.filterNot { opt =>
+ opt.startsWith("-Dspark.ssl.keyStorePassword") ||
opt.startsWith("-Dspark.ssl.keyPassword")}
--- End diff --
wrong indentation. This should look like:
```
val javaOptsFiltered = javaOpts.filterNot { opt =>
opt.startsWith("-Dspark.ssl.keyStorePassword") ||
opt.startsWith("-Dspark.ssl.keyPassword")
}
```
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]