Jon Maurer created SPARK-13412:
----------------------------------

             Summary: Spark Shell Ctrl-C behaviour suggestion
                 Key: SPARK-13412
                 URL: https://issues.apache.org/jira/browse/SPARK-13412
             Project: Spark
          Issue Type: Improvement
          Components: Spark Shell
    Affects Versions: 1.6.0
            Reporter: Jon Maurer
            Priority: Minor


It would be useful to catch the interrupt from a ctrl-c and prompt for 
confirmation prior to closing spark shell. This is currently an issue when 
sitting at an idle prompt. For example, if a user accidentally enters ctrl-c 
then all previous progress is lost and must be run again. Instead, the desired 
behavior would instead prompt the user to enter 'yes' or another ctrl-c to exit 
the shell, thus preventing rework. 

There is related discussion about this sort of feature on the Scala issue 
tracker: https://issues.scala-lang.org/browse/SI-6302



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

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

Reply via email to