Skip to content

Better CTRL+C handling #18

Open
Open
@benwbooth

Description

@benwbooth

In normal spark shell, pressing CTRL+C once will attempt to cancel the currently running spark job. I know in the past pressing CTRL+C in Ammonite would use thread.stop() to kill the currently running computation. That doesn't seem to be the case anymore, it seems like CTRL+C is simply ignored now. It would be nice if some basic CTRL+C handling could be implemented. Pressing CTRL+C once should attempt to stop the currently running spark job. Pressing it again should run thread.stop() to kill the currently running computation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions