dongjoon-hyun commented on a change in pull request #30352:
URL: https://github.com/apache/spark/pull/30352#discussion_r524481281
##########
File path:
resource-managers/mesos/src/main/scala/org/apache/spark/scheduler/cluster/mesos/MesosClusterScheduler.scala
##########
@@ -131,6 +132,8 @@ private[spark] class MesosClusterScheduler(
private val queuedCapacity = conf.get(config.MAX_DRIVERS)
private val retainedDrivers = conf.get(config.RETAINED_DRIVERS)
private val maxRetryWaitTime =
conf.get(config.CLUSTER_RETRY_WAIT_MAX_SECONDS)
+ private val queues: immutable.Map[String, Float] =
+ conf.getAllWithPrefix("spark.mesos.dispatcher.queue.").map(t => (t._1,
t._2.toFloat)).toMap
Review comment:
What happens for the users' misconfiguration like non-numeric value? I'm
wondering about the failure case for `toFloat`.
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]