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 2016/11/02 22:55:59 UTC

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

Sergiy Matusevych created REEF-1661:
---------------------------------------

             Summary: Investigate 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.4#6332)