vanzin commented on a change in pull request #23790: [SPARK-26792][CORE] Apply
custom log URL to Spark UI
URL: https://github.com/apache/spark/pull/23790#discussion_r260968421
##########
File path:
core/src/test/scala/org/apache/spark/scheduler/CoarseGrainedSchedulerBackendSuite.scala
##########
@@ -120,6 +124,54 @@ class CoarseGrainedSchedulerBackendSuite extends
SparkFunSuite with LocalSparkCo
}
}
+ // Here we just have test for one happy case instead of all cases: other
cases are covered in
+ // FsHistoryProviderSuite.
+ test("custom log url for Spark UI is applied") {
+ val conf = new SparkConf()
+ .set(CPUS_PER_TASK, 2)
+ .set(UI.CUSTOM_EXECUTOR_LOG_URL, getCustomExecutorLogUrl(includeFileName
= true))
+ .setMaster("local-cluster[4, 3, 1024]")
Review comment:
But why are the executors not launching? There's nothing I can see in the
configuration that indicates that.
Are you sure they're actually not launching, instead of just not launching
fast enough given what the rest of the test is doing?
I really would prefer something explicit that says "executors will not
launch" instead of this.
----------------------------------------------------------------
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]