dongjoon-hyun commented on a change in pull request #23743:
[SPARK-26843][MESOS] Use ConfigEntry for hardcoded configs for "mesos" resource
manager
URL: https://github.com/apache/spark/pull/23743#discussion_r255018847
##########
File path:
resource-managers/mesos/src/test/scala/org/apache/spark/scheduler/cluster/mesos/MesosCoarseGrainedSchedulerBackendSuite.scala
##########
@@ -59,8 +59,8 @@ class MesosCoarseGrainedSchedulerBackendSuite extends
SparkFunSuite
test("mesos supports killing and limiting executors") {
setBackend()
- sparkConf.set("spark.driver.host", "driverHost")
- sparkConf.set("spark.driver.port", "1234")
+ sparkConf.set(DRIVER_HOST_ADDRESS.key, "driverHost")
+ sparkConf.set(DRIVER_PORT.key, "1234")
Review comment:
```scala
- sparkConf.set(DRIVER_HOST_ADDRESS.key, "driverHost")
- sparkConf.set(DRIVER_PORT.key, "1234")
+ sparkConf.set(DRIVER_HOST_ADDRESS, "driverHost")
+ sparkConf.set(DRIVER_PORT, 1234)
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]