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

Update SamzaMonitorService to spawn deamon threads.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.1
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: