You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Craig Muchinsky (JIRA)" <ji...@apache.org> on 2014/03/18 13:50:46 UTC

[jira] [Updated] (GIRAPH-871) Map task jvm never exits since netty 4 upgrade

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

Craig Muchinsky updated GIRAPH-871:
-----------------------------------

    Attachment: GIRAPH-871.patch

> Map task jvm never exits since netty 4 upgrade
> ----------------------------------------------
>
>                 Key: GIRAPH-871
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-871
>             Project: Giraph
>          Issue Type: Bug
>          Components: bsp
>    Affects Versions: 1.1.0
>            Reporter: Craig Muchinsky
>             Fix For: 1.1.0
>
>         Attachments: GIRAPH-871.patch
>
>
> Some changes made to the NettyClient.stop() logic related to netty 4 are causing the final worker thread to hang up indefinitely, preventing the map task jvm from exiting. In particular, the call to ProgressableUtils.awaitTerminationFuture() is blocking inside the ChannelFutureListener callback and deadlocking. Simply moving the ProgressableUtils.awaitTerminationFuture() calls outside of the ChannelFutureListener callback and placing them at the end of the NettyClient.stop() method seems to cure the problem.



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