You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@bookkeeper.apache.org by suman p <su...@gmail.com> on 2012/12/11 06:06:45 UTC
bookkeeper ConnectionLoss for /ledgers
Hi,
I downloaded bookkeeper release 4.1.0. Just to test I ran the command
bookkeeper-server/bin/bookkeeper localbookie 10
According to README it should startup standalone zookeeper instance and
10 bookies, but i am getting following exception. can you help?
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /ledgers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
at
org.apache.bookkeeper.util.LocalBookKeeper.initializeZookeper(LocalBookKeeper.java:113)
at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:174)
2012-12-11 10:31:36,253 - ERROR - [main:Bookie@315] - Couldn't access
cookie in zookeeper
org.apache.zookeeper.KeeperException$ConnectionLossException:
KeeperErrorCode = ConnectionLoss for /ledgers/cookies/127.0.0.1:5000
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1049)
at org.apache.bookkeeper.bookie.Cookie.readFromZooKeeper(Cookie.java:179)
at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:274)
at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:352)
at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:82)
at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
at
org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:148)
at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:175)
Regards,
Suman
Re: bookkeeper ConnectionLoss for /ledgers
Posted by Sijie Guo <gu...@gmail.com>.
Agreed. 4.1.1 would be scheduled after 4.2 is out.
On Tue, Dec 11, 2012 at 12:22 AM, Flavio Junqueira <fp...@yahoo-inc.com>wrote:
> A bug fix release for the 4.1 branch would be great, but at this point I
> suggest we focus our efforts on getting 4.2.0 out the door. Does it make
> sense?
>
> -Flavio
>
> On Dec 11, 2012, at 7:02 AM, Sijie Guo wrote:
>
> we would schedule 4.1.1 release to back port those issues fixed in 4.2. I
> would go thru 4.2 jiras and find those issues that needs to be in 4.1.1.
>
> On Mon, Dec 10, 2012 at 9:18 PM, Uma Maheswara Rao G <maheswara@huawei.com
> > wrote:
>
>> Looks like you are hitting BOOKKEEPER-279.
>>
>>
>> This issue fixed in 4.2(trunk) and merged to 4.1 also. But there is no
>> point release(4.1.x) came out from 4.1 version. Try apply this patch and
>> check ?
>>
>>
>> FYI.... 4.2 release will come out in ~ 1 or 2 weeks.
>>
>>
>> Regards,
>>
>> Uma
>> ------------------------------
>> *From:* suman p [sumanp0309@gmail.com]
>> *Sent:* Tuesday, December 11, 2012 10:36 AM
>> *To:* bookkeeper-user@zookeeper.apache.org
>> *Subject:* bookkeeper ConnectionLoss for /ledgers
>>
>> Hi,
>>
>> I downloaded bookkeeper release 4.1.0. Just to test I ran the command
>>
>> bookkeeper-server/bin/bookkeeper localbookie 10
>>
>> According to README it should startup standalone zookeeper instance and
>> 10 bookies, but i am getting following exception. can you help?
>>
>>
>> org.apache.zookeeper.KeeperException$ConnectionLossException:
>> KeeperErrorCode = ConnectionLoss for /ledgers
>>
>> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>>
>> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>>
>> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
>>
>> at
>> org.apache.bookkeeper.util.LocalBookKeeper.initializeZookeper(LocalBookKeeper.java:113)
>>
>> at
>> org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:174)
>>
>> 2012-12-11 10:31:36,253 - ERROR - [main:Bookie@315] - Couldn't access
>> cookie in zookeeper
>>
>> org.apache.zookeeper.KeeperException$ConnectionLossException:
>> KeeperErrorCode = ConnectionLoss for /ledgers/cookies/127.0.0.1:5000
>>
>> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>>
>> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>>
>> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
>>
>> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1049)
>>
>> at org.apache.bookkeeper.bookie.Cookie.readFromZooKeeper(Cookie.java:179)
>>
>> at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:274)
>>
>> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:352)
>>
>> at
>> org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:82)
>>
>> at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
>>
>> at
>> org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:148)
>>
>> at
>> org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:175)
>>
>>
>> Regards,
>>
>> Suman
>>
>
>
>
Re: bookkeeper ConnectionLoss for /ledgers
Posted by Flavio Junqueira <fp...@yahoo-inc.com>.
A bug fix release for the 4.1 branch would be great, but at this point I suggest we focus our efforts on getting 4.2.0 out the door. Does it make sense?
-Flavio
On Dec 11, 2012, at 7:02 AM, Sijie Guo wrote:
> we would schedule 4.1.1 release to back port those issues fixed in 4.2. I would go thru 4.2 jiras and find those issues that needs to be in 4.1.1.
>
> On Mon, Dec 10, 2012 at 9:18 PM, Uma Maheswara Rao G <ma...@huawei.com> wrote:
> Looks like you are hitting BOOKKEEPER-279.
>
>
> This issue fixed in 4.2(trunk) and merged to 4.1 also. But there is no point release(4.1.x) came out from 4.1 version. Try apply this patch and check ?
>
>
> FYI.... 4.2 release will come out in ~ 1 or 2 weeks.
>
>
> Regards,
>
> Uma
>
> From: suman p [sumanp0309@gmail.com]
> Sent: Tuesday, December 11, 2012 10:36 AM
> To: bookkeeper-user@zookeeper.apache.org
> Subject: bookkeeper ConnectionLoss for /ledgers
>
> Hi,
>
> I downloaded bookkeeper release 4.1.0. Just to test I ran the command
>
> bookkeeper-server/bin/bookkeeper localbookie 10
>
> According to README it should startup standalone zookeeper instance and 10 bookies, but i am getting following exception. can you help?
>
>
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>
> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
>
> at org.apache.bookkeeper.util.LocalBookKeeper.initializeZookeper(LocalBookKeeper.java:113)
>
> at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:174)
>
> 2012-12-11 10:31:36,253 - ERROR - [main:Bookie@315] - Couldn't access cookie in zookeeper
>
> org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers/cookies/127.0.0.1:5000
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
>
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1049)
>
> at org.apache.bookkeeper.bookie.Cookie.readFromZooKeeper(Cookie.java:179)
>
> at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:274)
>
> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:352)
>
> at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:82)
>
> at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
>
> at org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:148)
>
> at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:175)
>
>
> Regards,
>
> Suman
>
>
Re: bookkeeper ConnectionLoss for /ledgers
Posted by Sijie Guo <gu...@gmail.com>.
we would schedule 4.1.1 release to back port those issues fixed in 4.2. I
would go thru 4.2 jiras and find those issues that needs to be in 4.1.1.
On Mon, Dec 10, 2012 at 9:18 PM, Uma Maheswara Rao G
<ma...@huawei.com>wrote:
> Looks like you are hitting BOOKKEEPER-279.
>
>
>
> This issue fixed in 4.2(trunk) and merged to 4.1 also. But there is no
> point release(4.1.x) came out from 4.1 version. Try apply this patch and
> check ?
>
>
>
> FYI.... 4.2 release will come out in ~ 1 or 2 weeks.
>
>
>
> Regards,
>
> Uma
> ------------------------------
> *From:* suman p [sumanp0309@gmail.com]
> *Sent:* Tuesday, December 11, 2012 10:36 AM
> *To:* bookkeeper-user@zookeeper.apache.org
> *Subject:* bookkeeper ConnectionLoss for /ledgers
>
> Hi,
>
> I downloaded bookkeeper release 4.1.0. Just to test I ran the command
>
> bookkeeper-server/bin/bookkeeper localbookie 10
>
> According to README it should startup standalone zookeeper instance and
> 10 bookies, but i am getting following exception. can you help?
>
>
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /ledgers
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>
> at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
>
> at
> org.apache.bookkeeper.util.LocalBookKeeper.initializeZookeper(LocalBookKeeper.java:113)
>
> at
> org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:174)
>
> 2012-12-11 10:31:36,253 - ERROR - [main:Bookie@315] - Couldn't access
> cookie in zookeeper
>
> org.apache.zookeeper.KeeperException$ConnectionLossException:
> KeeperErrorCode = ConnectionLoss for /ledgers/cookies/127.0.0.1:5000
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
>
> at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
>
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
>
> at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1049)
>
> at org.apache.bookkeeper.bookie.Cookie.readFromZooKeeper(Cookie.java:179)
>
> at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:274)
>
> at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:352)
>
> at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:82)
>
> at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
>
> at
> org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:148)
>
> at
> org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:175)
>
>
> Regards,
>
> Suman
>
RE: bookkeeper ConnectionLoss for /ledgers
Posted by Uma Maheswara Rao G <ma...@huawei.com>.
Looks like you are hitting BOOKKEEPER-279.
This issue fixed in 4.2(trunk) and merged to 4.1 also. But there is no point release(4.1.x) came out from 4.1 version. Try apply this patch and check ?
FYI.... 4.2 release will come out in ~ 1 or 2 weeks.
Regards,
Uma
________________________________
From: suman p [sumanp0309@gmail.com]
Sent: Tuesday, December 11, 2012 10:36 AM
To: bookkeeper-user@zookeeper.apache.org
Subject: bookkeeper ConnectionLoss for /ledgers
Hi,
I downloaded bookkeeper release 4.1.0. Just to test I ran the command
bookkeeper-server/bin/bookkeeper localbookie 10
According to README it should startup standalone zookeeper instance and 10 bookies, but i am getting following exception. can you help?
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.create(ZooKeeper.java:778)
at org.apache.bookkeeper.util.LocalBookKeeper.initializeZookeper(LocalBookKeeper.java:113)
at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:174)
2012-12-11 10:31:36,253 - ERROR - [main:Bookie@315] - Couldn't access cookie in zookeeper
org.apache.zookeeper.KeeperException$ConnectionLossException: KeeperErrorCode = ConnectionLoss for /ledgers/cookies/127.0.0.1:5000<http://127.0.0.1:5000>
at org.apache.zookeeper.KeeperException.create(KeeperException.java:99)
at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1021)
at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1049)
at org.apache.bookkeeper.bookie.Cookie.readFromZooKeeper(Cookie.java:179)
at org.apache.bookkeeper.bookie.Bookie.checkEnvironment(Bookie.java:274)
at org.apache.bookkeeper.bookie.Bookie.<init>(Bookie.java:352)
at org.apache.bookkeeper.proto.BookieServer.newBookie(BookieServer.java:82)
at org.apache.bookkeeper.proto.BookieServer.<init>(BookieServer.java:75)
at org.apache.bookkeeper.util.LocalBookKeeper.runBookies(LocalBookKeeper.java:148)
at org.apache.bookkeeper.util.LocalBookKeeper.main(LocalBookKeeper.java:175)
Regards,
Suman