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

[jira] [Commented] (GIRAPH-382) ZooKeeperExt should handle ConnectionLossException by retrying

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

Hudson commented on GIRAPH-382:
-------------------------------

Integrated in Giraph-trunk-Commit #249 (See [https://builds.apache.org/job/Giraph-trunk-Commit/249/])
    GIRAPH-382: ZooKeeperExt should handle ConnectionLossException by
retrying. (aching) (Revision 1401120)

     Result = FAILURE
aching : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1401120
Files : 
* /giraph/trunk/CHANGELOG
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/GiraphConfiguration.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspService.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspServiceMaster.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/graph/BspServiceWorker.java
* /giraph/trunk/giraph/src/main/java/org/apache/giraph/zk/ZooKeeperExt.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/BspCase.java
* /giraph/trunk/giraph/src/test/java/org/apache/giraph/TestZooKeeperExt.java

                
> ZooKeeperExt should handle ConnectionLossException by retrying
> --------------------------------------------------------------
>
>                 Key: GIRAPH-382
>                 URL: https://issues.apache.org/jira/browse/GIRAPH-382
>             Project: Giraph
>          Issue Type: Improvement
>            Reporter: Avery Ching
>            Assignee: Avery Ching
>         Attachments: GIRAPH-382.patch
>
>
> Sometimes we get a connection loss to ZooKeeper.  The client will automatically retry, but we shouldn't die in the meantime due to the connection loss exception.  This patch ensures that all ZooKeeperExt operations catch the connection loss exception, sleep (default 5 seconds), and retry (default 3).  

--
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