Skip to content

Commit 1f56f46

Browse files
committed
Remove the link on the application summary page
1 parent f35afa2 commit 1f56f46

File tree

4 files changed

+2
-5
lines changed

4 files changed

+2
-5
lines changed

core/src/main/scala/org/apache/spark/deploy/DeployMessage.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ private[deploy] object DeployMessages {
177177
host: String,
178178
port: Int,
179179
restPort: Option[Int],
180-
webUiUrl: String,
181180
workers: Array[WorkerInfo],
182181
activeApps: Array[ApplicationInfo],
183182
completedApps: Array[ApplicationInfo],

core/src/main/scala/org/apache/spark/deploy/master/Master.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ private[deploy] class Master(
471471

472472
case RequestMasterState =>
473473
context.reply(MasterStateResponse(
474-
address.host, address.port, restServerBoundPort, masterWebUiUrl,
474+
address.host, address.port, restServerBoundPort,
475475
workers.toArray, apps.toArray, completedApps.toArray,
476476
drivers.toArray, completedDrivers.toArray, state))
477477

core/src/main/scala/org/apache/spark/deploy/master/ui/ApplicationPage.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ private[ui] class ApplicationPage(parent: MasterWebUI) extends WebUIPage("app")
3535
def render(request: HttpServletRequest): Seq[Node] = {
3636
val appId = request.getParameter("appId")
3737
val state = master.askWithRetry[MasterStateResponse](RequestMasterState)
38-
val masterWebUiUrl = state.webUiUrl
3938
val app = state.activeApps.find(_.id == appId)
4039
.getOrElse(state.completedApps.find(_.id == appId).orNull)
4140
if (app == null) {
@@ -82,7 +81,6 @@ private[ui] class ApplicationPage(parent: MasterWebUI) extends WebUIPage("app")
8281
}
8382
}
8483
</ul>
85-
<p><a href={masterWebUiUrl}>Back to Master</a></p>
8684
</div>
8785
</div>
8886

core/src/test/scala/org/apache/spark/deploy/JsonProtocolSuite.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class JsonProtocolSuite extends SparkFunSuite with JsonTestUtils {
6969
val activeDrivers = Array(createDriverInfo())
7070
val completedDrivers = Array(createDriverInfo())
7171
val stateResponse = new MasterStateResponse(
72-
"host", 8080, None, "host:port", workers, activeApps, completedApps,
72+
"host", 8080, None, workers, activeApps, completedApps,
7373
activeDrivers, completedDrivers, RecoveryState.ALIVE)
7474
val output = JsonProtocol.writeMasterState(stateResponse)
7575
assertValidJson(output)

0 commit comments

Comments
 (0)