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

Shutdown hook does not wait for container to finish

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 0.10.0, 0.9.1
    • Component/s: container
    • Labels:
      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 (Data Infrastructure)
        2. 0001-SAMZA-616.patch
          13 kB
          Tommy Becker

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: