dongjoon-hyun commented on a change in pull request #24713:
[SPARK-26192][MESOS][2.4] Retrieve enableFetcherCache option from submission
for driver URIs
URL: https://github.com/apache/spark/pull/24713#discussion_r287647125
##########
File path:
resource-managers/mesos/src/main/scala/org/apache/spark/deploy/rest/mesos/MesosRestServer.scala
##########
@@ -92,13 +93,14 @@ private[mesos] class MesosSubmitRequestServlet(
// Optional fields
val sparkProperties = request.sparkProperties
- val driverExtraJavaOptions =
sparkProperties.get("spark.driver.extraJavaOptions")
- val driverExtraClassPath =
sparkProperties.get("spark.driver.extraClassPath")
- val driverExtraLibraryPath =
sparkProperties.get("spark.driver.extraLibraryPath")
+ val driverExtraJavaOptions =
sparkProperties.get(config.DRIVER_JAVA_OPTIONS.key)
+ val driverExtraClassPath =
sparkProperties.get(config.DRIVER_CLASS_PATH.key)
+ val driverExtraLibraryPath =
sparkProperties.get(config.DRIVER_LIBRARY_PATH.key)
val superviseDriver = sparkProperties.get("spark.driver.supervise")
- val driverMemory = sparkProperties.get("spark.driver.memory")
+ val driverMemory = sparkProperties.get(config.DRIVER_MEMORY.key)
+ val driverMemoryOverhead =
sparkProperties.get(config.DRIVER_MEMORY_OVERHEAD.key)
val driverCores = sparkProperties.get("spark.driver.cores")
- val name = request.sparkProperties.getOrElse("spark.app.name", mainClass)
+ val name = sparkProperties.getOrElse("spark.app.name", mainClass)
Review comment:
Please revert all the changes in this file.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]