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 9306b8c commit e717fb6Copy full SHA for e717fb6
core/src/main/scala/org/apache/spark/SparkConf.scala
@@ -227,7 +227,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
227
// Validate spark.executor.extraJavaOptions
228
settings.get(executorOptsKey).map { javaOpts =>
229
if (javaOpts.contains("-Dspark")) {
230
- val msg = s"$executorOptsKey is not allowed to set Spark options (was '$javaOpts)'. " +
+ val msg = s"$executorOptsKey is not allowed to set Spark options (was '$javaOpts'). " +
231
"Set them directly on a SparkConf or in a properties file when using ./bin/spark-submit."
232
throw new Exception(msg)
233
}
0 commit comments