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_r287647083
 
 

 ##########
 File path: 
resource-managers/mesos/src/main/scala/org/apache/spark/deploy/mesos/config.scala
 ##########
 @@ -129,4 +129,22 @@ package object config {
         "when launching drivers. Default is to accept all offers with 
sufficient resources.")
       .stringConf
       .createWithDefault("")
+
+  private[spark] val MAX_DRIVERS =
+    ConfigBuilder("spark.mesos.maxDrivers").intConf.createWithDefault(200)
+
+  private[spark] val RETAINED_DRIVERS =
+    ConfigBuilder("spark.mesos.retainedDrivers").intConf.createWithDefault(200)
+
+  private[spark] val CLUSTER_RETRY_WAIT_MAX_SECONDS =
+    ConfigBuilder("spark.mesos.cluster.retry.wait.max")
+        .intConf
+        .createWithDefault(60) // 1 minute
+
+  private[spark] val ENABLE_FETCHER_CACHE =
+    ConfigBuilder("spark.mesos.fetcherCache.enable")
+        .doc("If set to true, all URIs (example: `spark.executor.uri`, 
`spark.mesos.uris`) will " +
+            "be cached by the Mesos Fetcher Cache.")
+        .booleanConf
+        .createWithDefault(false)
 
 Review comment:
   Let's not add this. What we need is just the functional logic of SPARK-26192.

----------------------------------------------------------------
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]

Reply via email to