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

Update SamzaMonitorService to spawn deamon threads.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.13.1
    • None
    • None

    Description

      Observed in LI production that samza-rest jvm process doesn’t stop after main thread death(due to jetty server failures) since non-deamon threads spawned for `SamzaMonitorService` are alive.

      • This affects samza-rest jvm process lifecycle management. To fix this, plugging in ThreadFactory which sets Thread name format & marks them as daemon.
      • Shutdown executorService in finally block (in case of any exception & also during normal exit).

      Attachments

        Issue Links

          Activity

            People

              spvenkat Shanthoosh Venkataraman
              spvenkat Shanthoosh Venkataraman
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: