Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/246#discussion_r11426078
--- Diff: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala ---
@@ -31,11 +31,21 @@ private[ui] class StagePage(parent: JobProgressUI) {
private val appName = parent.appName
private val basePath = parent.basePath
private lazy val listener = parent.listener
+ private lazy val sc = parent.sc
+ private val killEnabled = parent.killEnabled
def render(request: HttpServletRequest): Seq[Node] = {
listener.synchronized {
val stageId = request.getParameter("id").toInt
+ if (killEnabled) {
+ val killFlag =
Option(request.getParameter("terminate")).getOrElse("false").toBoolean
--- End diff --
Could we just re-direct to the index page here? I think that would be more
natural after killing a stage.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---