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

SamzaContainer main thread might die without proper cleanup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • container
    • None

    Description

      In SamzaContainer,

      There are some method invocations within 'main' that throw an exception:

      For eg: getTaskNameToSystemStreamPartition (this might happen if there is no SSP for a given task).

      However, this is outside the try block due to which, it doesn't cleanup properly before dying. The result is that, the AMF thread can still be alive - thus locking up resources in YARN.

      Proposed resolution: Include all such statements within the try block

      Attachments

        1. SAMZA-382-1.patch
          5 kB
          Chris Riccomini
        2. SAMZA-382-0.patch
          10 kB
          Chris Riccomini

        Activity

          People

            criccomini Chris Riccomini
            cpsoman Chinmay Soman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: