[ 
https://issues.apache.org/jira/browse/GIRAPH-871?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940518#comment-13940518
 ] 

Claudio Martella commented on GIRAPH-871:
-----------------------------------------

OK, i'm committing this one.

> 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)

Reply via email to