Github user tgravescs commented on a diff in the pull request:

    https://github.com/apache/spark/pull/12115#discussion_r58776877
  
    --- Diff: core/src/main/scala/org/apache/spark/SparkConf.scala ---
    @@ -454,9 +454,9 @@ class SparkConf(loadDefaults: Boolean) extends 
Cloneable with Logging {
               "Set them directly on a SparkConf or in a properties file when 
using ./bin/spark-submit."
             throw new Exception(msg)
           }
    -      if (javaOpts.contains("-Xmx") || javaOpts.contains("-Xms")) {
    -        val msg = s"$executorOptsKey is not allowed to alter memory 
settings (was '$javaOpts'). " +
    -          "Use spark.executor.memory instead."
    +      if (javaOpts.contains("-Xmx")) {
    +        val msg = s"$executorOptsKey is not allowed to specify max heap 
memory settings " +
    +          s"(was '$javaOpts'). " + "Use spark.executor.memory instead."
    --- End diff --
    
    get rid of the + here to just combine the 2 strings


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to