Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-616

Shutdown hook does not wait for container to finish

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.0
    • 0.10.0, 0.9.1
    • container
    • None

    Description

      SAMZA-506 introduced a shutdown hook to set shutdownNow to true in Samza's RunLoop. Unfortunately, this hook returns immediately after shutdowNow=true is set. As soon as the shutdown hook returns, the process dies. We should have the shutdown hook block (with some timeout) until the container fully shuts itself down.

      Attachments

        1. SAMZA-616.0.9.1.patch
          13 kB
          Yi Pan
        2. 0001-SAMZA-616.patch
          13 kB
          Tommy Becker

        Activity

          People

            twbecker Tommy Becker
            criccomini Chris Riccomini
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: