[ https://issues.apache.org/jira/browse/ZOOKEEPER-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12992717#comment-12992717 ]
Flavio Junqueira commented on ZOOKEEPER-985: -------------------------------------------- Sounds like a race condition. Checking the logs, I found this: {noformat} 2011-02-09 11:07:39,245 - INFO - [main:BookieRecoveryTest@165] - New bookie on port 5003 has been created. 2011-02-09 11:07:39,248 - ERROR - [pool-6-thread-1:PerChannelBookieClient$1@129] - Could not connect to bookie: /10.73.146.106:5000 2011-02-09 11:07:39,248 - WARN - [pool-6-thread-1:PendingAddOp@115] - Write did not succeed: 1, 10 2011-02-09 11:07:39,253 - ERROR - [pool-6-thread-1:LedgerHandle@423] - Could not get additional bookie to remake ensemble, closing ledger: 1 {noformat} We are starting a new bookie, but it sounds like we are not giving enough time for the bookie to start up to be incorporated into the ensemble. > Test BookieRecoveryTest fails on trunk. > --------------------------------------- > > Key: ZOOKEEPER-985 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-985 > Project: ZooKeeper > Issue Type: Bug > Components: contrib-bookkeeper > Environment: Darwin moststock-lm 9.7.0 Darwin Kernel Version 9.7.0: > Tue Mar 31 22:52:17 PDT 2009; root:xnu-1228.12.14~1/RELEASE_I386 i386 (mac). > Reporter: Mahadev konar > Assignee: Flavio Junqueira > Fix For: 3.4.0 > > Attachments: TEST-org.apache.bookkeeper.test.BookieRecoveryTest.txt > > > The unit test fails on trunk on my mac. I think this might be the same on > other platforms as well. Ill attach the error logs. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira