diff options
author | hzw19900416 <carlmartinmax@gmail.com> | 2014-08-19 14:04:49 -0700 |
---|---|---|
committer | Josh Rosen <joshrosen@apache.org> | 2014-08-19 14:04:49 -0700 |
commit | 76eaeb4523ee01cabbea2d867daac48a277885a1 (patch) | |
tree | bef67b3af4e98b4c27ac5e9ba3751b297be97cc6 | |
parent | 94053a7b766788bb62e2dbbf352ccbcc75f71fc0 (diff) | |
download | spark-76eaeb4523ee01cabbea2d867daac48a277885a1.tar.gz spark-76eaeb4523ee01cabbea2d867daac48a277885a1.tar.bz2 spark-76eaeb4523ee01cabbea2d867daac48a277885a1.zip |
Move a bracket in validateSettings of SparkConf
Move a bracket in validateSettings of SparkConf
Author: hzw19900416 <carlmartinmax@gmail.com>
Closes #2012 from hzw19900416/codereading and squashes the following commits:
e717fb6 [hzw19900416] Move a bracket in validateSettings of SparkConf
-rw-r--r-- | core/src/main/scala/org/apache/spark/SparkConf.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/SparkConf.scala b/core/src/main/scala/org/apache/spark/SparkConf.scala index 13f0bff7ee..b4f321ec99 100644 --- a/core/src/main/scala/org/apache/spark/SparkConf.scala +++ b/core/src/main/scala/org/apache/spark/SparkConf.scala @@ -227,7 +227,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging { // Validate spark.executor.extraJavaOptions settings.get(executorOptsKey).map { javaOpts => if (javaOpts.contains("-Dspark")) { - 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'). " + "Set them directly on a SparkConf or in a properties file when using ./bin/spark-submit." throw new Exception(msg) } |