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_r260905663
 
 

 ##########
 File path: 
core/src/test/scala/org/apache/spark/scheduler/CoarseGrainedSchedulerBackendSuite.scala
 ##########
 @@ -129,4 +181,34 @@ class CoarseGrainedSchedulerBackendSuite extends 
SparkFunSuite with LocalSparkCo
       { return }
     )
   }
+
+  private def getCustomExecutorLogUrl(includeFileName: Boolean): String = {
+    val baseUrl = 
"http://newhost:9999/logs/clusters/{{CLUSTER_ID}}/users/{{USER}}/containers/"; +
+      "{{CONTAINER_ID}}"
+    if (includeFileName) baseUrl + "/{{FILE_NAME}}" else baseUrl
+  }
+
+  private def getTestExecutorLogUrls: Map[String, String] = Map(
 
 Review comment:
   Only called once, inline.

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

Reply via email to