You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2017/03/21 20:39:42 UTC

[jira] [Resolved] (REEF-1661) RejectedExecutionException thrown when closing the acceptor in NettyMessageTransport

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

Sergiy Matusevych resolved REEF-1661.
-------------------------------------
    Resolution: Fixed

> RejectedExecutionException thrown when closing the acceptor in NettyMessageTransport
> ------------------------------------------------------------------------------------
>
>                 Key: REEF-1661
>                 URL: https://issues.apache.org/jira/browse/REEF-1661
>             Project: REEF
>          Issue Type: Sub-task
>          Components: Wake
>            Reporter: Sergiy Matusevych
>            Assignee: Sergiy Matusevych
>            Priority: Minor
>
> Sometimes when the application closes Wake {{NettyMessageTransport}}, and exception is thrown from {{acceptor.close()}} call. We catch and log the error and then proceed with the shutdown; this is normal behavior required to make the  {{NettyMessageTransport.close()}} method idempotent.
> The exception does not prevent us from the graceful shutdown of the transport, but it is still unclear what exactly causes the error. Do we close the transport more than once? Does the acceptor gets closed as a side effect of some other service shutdown? The error might be an indicator of some minor error or a race condition somewhere in the REEF/Wake shutdown process.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)