giraph-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dionysios Logothetis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GIRAPH-1144) Out-of-core control flow sends messages after Netty shuts down
Date Fri, 21 Apr 2017 18:15:04 GMT

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

Dionysios Logothetis commented on GIRAPH-1144:
----------------------------------------------

Either the netty client must wait until control-flow sends all unsent messages, or control-flow
stops sending when the netty client stops.  If the other side doesn't depend on receiving
pending control-flow messages, we can shut it down as soon as netty stops.

> Out-of-core control flow sends messages after Netty shuts down
> --------------------------------------------------------------
>
>                 Key: GIRAPH-1144
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-1144
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Dionysios Logothetis
>            Assignee: Dionysios Logothetis
>
> java.util.concurrent.RejectedExecutionException: event executor terminated
> at io.netty.util.concurrent.SingleThreadEventExecutor.reject(SingleThreadEventExecutor.java:703)
> at io.netty.util.concurrent.SingleThreadEventExecutor.addTask(SingleThreadEventExecutor.java:296)
> at io.netty.util.concurrent.SingleThreadEventExecutor.execute(SingleThreadEventExecutor.java:691)
> at io.netty.channel.AbstractChannel$AbstractUnsafe.register(AbstractChannel.java:415)
> at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:60)
> at io.netty.channel.SingleThreadEventLoop.register(SingleThreadEventLoop.java:48)
> at io.netty.channel.MultithreadEventLoopGroup.register(MultithreadEventLoopGroup.java:64)
> at io.netty.bootstrap.AbstractBootstrap.initAndRegister(AbstractBootstrap.java:305)
> at io.netty.bootstrap.Bootstrap.doConnect(Bootstrap.java:133)
> at io.netty.bootstrap.Bootstrap.connect(Bootstrap.java:115)
> at org.apache.giraph.comm.netty.NettyClient.getNextChannel(NettyClient.java:714)
> at org.apache.giraph.comm.netty.NettyClient.writeRequestToChannel(NettyClient.java:799)
> at org.apache.giraph.comm.netty.NettyClient.doSend(NettyClient.java:789)
> at org.apache.giraph.comm.flow_control.CreditBasedFlowControl.sendResumeSignal(CreditBasedFlowControl.java:273)
> at org.apache.giraph.comm.flow_control.CreditBasedFlowControl.access$200(CreditBasedFlowControl.java:77)
> at org.apache.giraph.comm.flow_control.CreditBasedFlowControl$1.run(CreditBasedFlowControl.java:219)
> at java.lang.Thread.run(Thread.java:745)



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

Mime
View raw message