You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/02/18 13:00:46 UTC

[GitHub] [spark] LuciferYang commented on a change in pull request #35567: [SPARK-38175][CORE][FOLLOWUP] Remove `urlPattern` from `HistoryAppStatusStore#replaceLogUrls` method signature

LuciferYang commented on a change in pull request #35567:
URL: https://github.com/apache/spark/pull/35567#discussion_r809977505



##########
File path: core/src/main/scala/org/apache/spark/deploy/history/HistoryAppStatusStore.scala
##########
@@ -45,20 +45,20 @@ private[spark] class HistoryAppStatusStore(
   override def executorList(activeOnly: Boolean): Seq[v1.ExecutorSummary] = {
     val execList = super.executorList(activeOnly)
     logUrlPattern match {
-      case Some(pattern) => execList.map(replaceLogUrls(_, pattern))
+      case Some(_) => execList.map(replaceLogUrls)
       case None => execList
     }
   }
 
   override def executorSummary(executorId: String): v1.ExecutorSummary = {
     val execSummary = super.executorSummary(executorId)
     logUrlPattern match {
-      case Some(pattern) => replaceLogUrls(execSummary, pattern)
+      case Some(_) => replaceLogUrls(execSummary)

Review comment:
       like [6be9cbf](https://github.com/apache/spark/pull/35567/commits/6be9cbf81a79bbc8babc94a92ac19dad51cc5fd3)?




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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org