You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@giraph.apache.org by "Maja Kabiljo (JIRA)" <ji...@apache.org> on 2012/12/03 23:00:00 UTC

[jira] [Created] (GIRAPH-441) Keep track of connected channels in NettyServer

Maja Kabiljo created GIRAPH-441:
-----------------------------------

             Summary: Keep track of connected channels in NettyServer
                 Key: GIRAPH-441
                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
             Project: Giraph
          Issue Type: Bug
            Reporter: Maja Kabiljo
            Assignee: Maja Kabiljo


We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GIRAPH-441) Keep track of connected channels in NettyServer

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510895#comment-13510895 ] 

Hudson commented on GIRAPH-441:
-------------------------------

Integrated in Giraph-trunk-Commit #303 (See [https://builds.apache.org/job/Giraph-trunk-Commit/303/])
    GIRAPH-441: Keep track of connected channels in NettyServer (Revision 1417114)

     Result = SUCCESS
maja : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1417114
Files : 
* /giraph/trunk/CHANGELOG
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyClient.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/comm/netty/NettyServer.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/utils/ProgressableUtils.java

                
> Keep track of connected channels in NettyServer
> -----------------------------------------------
>
>                 Key: GIRAPH-441
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-441.patch
>
>
> We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GIRAPH-441) Keep track of connected channels in NettyServer

Posted by "Maja Kabiljo (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509946#comment-13509946 ] 

Maja Kabiljo commented on GIRAPH-441:
-------------------------------------

Eli, we are not 100% sure yet since it doesn't happen all the time, but I think it will since halting the netty server now happens instantly.

Thanks for the review Avery.
                
> Keep track of connected channels in NettyServer
> -----------------------------------------------
>
>                 Key: GIRAPH-441
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-441.patch
>
>
> We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GIRAPH-441) Keep track of connected channels in NettyServer

Posted by "Eli Reisman (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509925#comment-13509925 ] 

Eli Reisman commented on GIRAPH-441:
------------------------------------

Nice! Did this fix your timeout problem?
                
> Keep track of connected channels in NettyServer
> -----------------------------------------------
>
>                 Key: GIRAPH-441
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-441.patch
>
>
> We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (GIRAPH-441) Keep track of connected channels in NettyServer

Posted by "Maja Kabiljo (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GIRAPH-441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maja Kabiljo updated GIRAPH-441:
--------------------------------

    Attachment: GIRAPH-441.patch
    
> Keep track of connected channels in NettyServer
> -----------------------------------------------
>
>                 Key: GIRAPH-441
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-441.patch
>
>
> We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (GIRAPH-441) Keep track of connected channels in NettyServer

Posted by "Avery Ching (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GIRAPH-441?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509930#comment-13509930 ] 

Avery Ching commented on GIRAPH-441:
------------------------------------

+1, only minor comment would be to change the comment in NettyServer.java to be a bit more verbose, since it maybe not be clear why this is important.  Here is an example (you can change it however you like of course)

// Store all connected channels

->

// Store all connected channels in order to ensure that we can close them on stop(), or else stop() may hang waiting for the connections to close on their own.


                
> Keep track of connected channels in NettyServer
> -----------------------------------------------
>
>                 Key: GIRAPH-441
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-441
>             Project: Giraph
>          Issue Type: Bug
>            Reporter: Maja Kabiljo
>            Assignee: Maja Kabiljo
>         Attachments: GIRAPH-441.patch
>
>
> We are still getting a timeout in NettyServer.stop(). We are not calling close on all the connected channels since we are not keeping track of them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira