Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-10001

Allow Ctrl-C in spark-shell to kill running job

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.4.1
    • 2.0.0
    • Spark Shell
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              jodersky Jakob Odersky
              cheolsoo Cheolsoo Park
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: