You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Jon Maurer (JIRA)" <ji...@apache.org> on 2016/02/18 03:12:18 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15151591#comment-15151591 ]
Jon Maurer commented on SPARK-10001:
------------------------------------
I have a number of users who would find this feature to be useful. The related scenario is hitting ctrl-c by mistake as an attempt to copy output and accidentally killing the shell, even if a job has not yet been submitted. Is there other interest in this feature?
> 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: Sub-task
> Components: Spark Shell
> Affects Versions: 1.4.1
> Reporter: Cheolsoo Park
> Priority: Minor
>
> 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