[
https://issues.apache.org/jira/browse/ZOOKEEPER-436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12847011#action_12847011
]
Mahadev konar commented on ZOOKEEPER-436:
-----------------------------------------
I still see tests fails.
{code}
estsuite: org.apache.bookkeeper.test.BookieClientTest
Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.664 sec
------------- Standard Output ---------------
2010-03-18 17:25:11,571 - WARN - [main:boo...@212] - No ZK servers passed to
Bookie constructor so BookKeeper clients won't know about this server!
2010-03-18 17:25:11,603 - INFO - [main:ledgerca...@71] - openFileLimit is 900
2010-03-18 17:25:11,605 - INFO - [main:ledgerca...@77] - maxMemory = 517013504
2010-03-18 17:25:11,606 - INFO - [main:ledgerca...@81] - pageLimit is 21037
2010-03-18 17:25:11,609 - ERROR - [main:bookie$lastlogm...@372] - Problems
reading from /tmp/bookie9716test/lastMark (this is okay if it is the first time
starting this bookie
2010-03-18 17:25:11,864 - INFO - [New I/O client worker
#1-1:perchannelbookieclien...@122] - Successfully connected to bookie:
/127.0.0.1:13645
2010-03-18 17:25:11,893 - INFO - [New I/O client worker
#1-1:perchannelbookiecli...@373] - Disconnected from bookie: /127.0.0.1:13645
2010-03-18 17:25:11,895 - ERROR -
[pool-4-thread-1:perchannelbookieclien...@316] - Could not write request for
adding entry: 1 ledger-id: 1 bookie: /127.0.0.1:13645
2010-03-18 17:25:11,896 - ERROR -
[pool-4-thread-1:perchannelbookieclien...@321] - Invoked callback method: 1
2010-03-18 17:25:12,071 - FATAL - [Thread-0:boo...@432] - Bookie thread exiting
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(AbstractQueuedSynchronizer.java:1100)
at
java.util.concurrent.locks.ReentrantLock.lockInterruptibly(ReentrantLock.java:312)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:354)
at org.apache.bookkeeper.bookie.Bookie.run(Bookie.java:398)
2010-03-18 17:25:12,087 - WARN - [main:boo...@212] - No ZK servers passed to
Bookie constructor so BookKeeper clients won't know about this server!
2010-03-18 17:25:12,088 - ERROR - [main:bookie$lastlogm...@372] - Problems
reading from /tmp/bookie9717test/lastMark (this is okay if it is the first time
starting this bookie
2010-03-18 17:25:12,093 - INFO - [New I/O client worker
#2-1:perchannelbookieclien...@122] - Successfully connected to bookie:
/127.0.0.1:13645
2010-03-18 17:25:12,097 - INFO - [New I/O client worker
#2-1:perchannelbookiecli...@373] - Disconnected from bookie: /127.0.0.1:13645
2010-03-18 17:25:12,097 - FATAL - [Thread-2:boo...@432] - Bookie thread exiting
java.lang.InterruptedException
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:1863)
at
java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1898)
at
java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358)
at org.apache.bookkeeper.bookie.Bookie.run(Bookie.java:398)
------------- ---------------- ---------------
Testcase: testWriteGaps took 0.526 sec
FAILED
expected:<0> but was:<-13>
junit.framework.AssertionFailedError: expected:<0> but was:<-13>
at
org.apache.bookkeeper.test.BookieClientTest.testWriteGaps(BookieClientTest.java:132)
Testcase: testNoLedger took 0.107 sec
{code}
> Bookies should auto register to ZooKeeper
> -----------------------------------------
>
> Key: ZOOKEEPER-436
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-436
> Project: Zookeeper
> Issue Type: Improvement
> Components: contrib-bookkeeper
> Reporter: Benjamin Reed
> Fix For: 3.3.0
>
> Attachments: ZOOKEEPER-436.patch, ZOOKEEPER-436.patch
>
>
> currently bookies have to be manually added to ZooKeeper to be used in a
> BookKeeper service. we should be able to just start up a bookkie, point it at
> ZooKeeper, and have it get auto integrated in.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.