You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Davies Liu (JIRA)" <ji...@apache.org> on 2016/04/22 07:05:12 UTC

[jira] [Resolved] (SPARK-10001) Allow Ctrl-C in spark-shell to kill running job

     [ https://issues.apache.org/jira/browse/SPARK-10001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davies Liu resolved SPARK-10001.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

Issue resolved by pull request 12557
[https://github.com/apache/spark/pull/12557]

> Allow Ctrl-C in spark-shell to kill running job
> -----------------------------------------------
>
>                 Key: SPARK-10001
>                 URL: https://issues.apache.org/jira/browse/SPARK-10001
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Shell
>    Affects Versions: 1.4.1
>            Reporter: Cheolsoo Park
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> Hitting Ctrl-C in spark-sql (and other tools like presto) cancels any running job and starts a new input line on the prompt. It would be nice if spark-shell also can do that. Otherwise, in case a user submits a job, say he made a mistake, and wants to cancel it, he needs to exit the shell and re-login to continue his work. Re-login can be a pain especially in Spark on yarn, since it takes a while to allocate AM container and initial executors.



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