You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dev Lakhani (JIRA)" <ji...@apache.org> on 2015/04/10 11:19:12 UTC

[jira] [Commented] (SPARK-2115) Stage kill link is too close to stage details link

    [ https://issues.apache.org/jira/browse/SPARK-2115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14489229#comment-14489229 ] 

Dev Lakhani commented on SPARK-2115:
------------------------------------

On a similar note: When the kill link is cached in the browser bar, it's easy to accidentally kill a job just by pressing enter. For example:

You press the kill stage button and get the prompt whether you want to kill the stage. You launch a new job and start typing:

http://localhost:4040/

Chrome for example starts auto completing with http://localhost:4040/stages/kill/?id=0&terminate=true , if you accidentally press enter it will kill the current stage without any prompts.

I think its also a bit of a security issue if from any host you can curl/wget/issue:  http://localhost:4040/stages/kill/?id=0&terminate=true and it will kill the current stage without prompting. 

> Stage kill link is too close to stage details link
> --------------------------------------------------
>
>                 Key: SPARK-2115
>                 URL: https://issues.apache.org/jira/browse/SPARK-2115
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 1.0.0
>            Reporter: Nicholas Chammas
>            Assignee: Masayoshi TSUZUKI
>            Priority: Trivial
>             Fix For: 1.1.0
>
>         Attachments: Accident-prone kill link.png, Safe and user-friendly kill link.png
>
>
> 1.0.0 introduces a new and very helpful `kill` link for each active stage in the Web UI.
> The problem is that this link is awfully close to the link one would click on to see details for the stage. Without any confirmation dialog for the kill, I think it is likely that users will accidentally kill stages when all they really wanted was to see more information about them.
> I suggest moving the kill link to the right of the stage detail link, and having it flush right within the cell. This puts a safe amount of space between the two links while keeping the kill link in a consistent location.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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