[ 
https://issues.apache.org/jira/browse/SAMZA-382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Riccomini updated SAMZA-382:
----------------------------------

    Attachment: SAMZA-382-1.patch

Attaching updated patch which has a more resilient unit test.

> SamzaContainer main thread might die without proper cleanup
> -----------------------------------------------------------
>
>                 Key: SAMZA-382
>                 URL: https://issues.apache.org/jira/browse/SAMZA-382
>             Project: Samza
>          Issue Type: Bug
>          Components: container
>    Affects Versions: 0.8.0
>            Reporter: Chinmay Soman
>            Assignee: Chris Riccomini
>             Fix For: 0.8.0
>
>         Attachments: SAMZA-382-0.patch, SAMZA-382-1.patch
>
>
> 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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to