giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavan Kumar (JIRA)" <>
Subject [jira] [Commented] (GIRAPH-871) Map task jvm never exits since netty 4 upgrade
Date Tue, 18 Mar 2014 17:01:49 GMT


Pavan Kumar commented on GIRAPH-871:

+1 makes total sense.
Oversight on myside.

Since I tested on Corona (facebook hadoop) which does not have this issue. (as pointed by
Avery in the mailing list) we never got into the weird situation.

> Map task jvm never exits since netty 4 upgrade
> ----------------------------------------------
>                 Key: GIRAPH-871
>                 URL:
>             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

View raw message