bookkeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Di Spaltro <dan.dispal...@gmail.com>
Subject BKNotEnoughBookiesException
Date Sat, 18 Jun 2011 01:15:58 GMT
Guys,

I got a node.js stub working, thanks for the help with the framing!  I've
moved on to another problem I am running three servers on the same machine.

./zkServer.sh start-foreground
./scripts/hw.bash bk 3181 127.0.0.1:2181 /tmp/bk/{journal,ledgers}
./scripts/hw.bash hw conf/hw_server.conf

The hedwig server is on 4080.  BK server is on 3181, ZK server is on 2181.

I keep getting, when trying to do publish/subscribe.  That's all I've tried
for now.

2011-06-17 18:11:21,974 25117 [Thread-2-EventThread] ERROR
org.apache.hedwig.server.persistence.BookkeeperPersistenceManager  - Could
not create new ledger while acquiring topic: Test
org.apache.bookkeeper.client.BKException$BKNotEnoughBookiesException
at org.apache.bookkeeper.client.BKException.create(BKException.java:58)
 at
org.apache.hedwig.server.persistence.BookkeeperPersistenceManager$AcquireOp$3.safeCreateComplete(BookkeeperPersistenceManager.java:624)
at
org.apache.hedwig.zookeeper.SafeAsynBKCallback$CreateCallback.createComplete(SafeAsynBKCallback.java:76)
 at
org.apache.bookkeeper.client.LedgerCreateOp.processResult(LedgerCreateOp.java:134)
at
org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:582)
 at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:481)


Any ideas, anything I am missing?

-Dan


-- 
Dan Di Spaltro

Mime
View raw message