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

SamzaContainer main thread might die without proper cleanup

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: container
    • Labels:
      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-0.patch
          10 kB
          Chris Riccomini
        2. SAMZA-382-1.patch
          5 kB
          Chris Riccomini

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: