Uploaded image for project: 'Livy (READ-ONLY)'
  1. Livy (READ-ONLY)
  2. LIVY-31

Add shutdown hook to make sure sessions are destroyed

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1
    • Fix Version/s: 0.2
    • Component/s: Core
    • Labels:
      None

      Description

      Right now if you use "ctrl-c" to kill the livy server, it won't always kill all of it's sessions depending on which thread received the signal. So to be safe, we should add a Runtime.addShutdownHook that also tries to kill the sessions before the JVM is killed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vanzin Marcelo Vanzin
                Reporter:
                erickt Erick Tryzelaar
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: