xkrogen commented on a change in pull request #30096:
URL: https://github.com/apache/spark/pull/30096#discussion_r516925449
##########
File path:
resource-managers/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
##########
@@ -1172,6 +1181,31 @@ private[spark] class Client(
}.mkString("")
}
+ private def getDriverLogsLink(appId: String): Option[(String, String)] = {
+ val baseRmUrl = WebAppUtils.getRMWebAppURLWithScheme(hadoopConf)
+ val response = ClientBuilder.newClient()
+ .target(baseRmUrl)
+
.path("ws").path("v1").path("cluster").path("apps").path(appId).path("appattempts")
Review comment:
Yeah, I do not think so. Even in Hadoop itself (`LogsCLI`), this same
approach is taken:
https://github.com/apache/hadoop/blob/master/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/main/java/org/apache/hadoop/yarn/client/cli/LogsCLI.java#L368
----------------------------------------------------------------
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]