Github user heary-cao commented on a diff in the pull request: https://github.com/apache/spark/pull/18555#discussion_r126090608 --- Diff: core/src/main/scala/org/apache/spark/internal/config/package.scala --- @@ -38,7 +38,12 @@ package object config { ConfigBuilder("spark.driver.userClassPathFirst").booleanConf.createWithDefault(false) private[spark] val DRIVER_MEMORY = ConfigBuilder("spark.driver.memory") + .doc("Amount of memory to use for the driver process, i.e. " + + "where SparkContext is initialized. (e.g. 1g, 2g). ") .bytesConf(ByteUnit.MiB) + .checkValue(v => v > 0 && v <= Int.MaxValue / (1024 * 1024), + s"The driver memory must be greater than 0MB " + --- End diff -- remove it. thanks. please review it again.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org