[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294854#comment-13294854 ] Sijie Guo commented on BOOKKEEPER-294: -- the patch is good except one place 'new_b

[jira] [Updated] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Junqueira updated BOOKKEEPER-294: Fix Version/s: 4.1.1 > Not able to start the bookkeeper before the ZK sessi

Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Rakesh R
Hi All, As per my understanding, bookkeeper doesn't have the logic to pre-create the following items and the operators need to manually create all these items before starting the bookkeeper. I feel it would be great if the bookkepper himself will internally maintaining logic to prepare bookkeep

Re: Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Ivan Kelly
Perhaps we should create a bookie format command, which does all this stuff. Then the admin would just have to run bookkeeper-server/bin/bookkeeper bookie -format on each machine. -Ivan On Thu, Jun 14, 2012 at 08:13:46AM +, Rakesh R wrote: > Hi All, > > As per my understanding, bookkeep

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Uma Maheswara Rao G (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294906#comment-13294906 ] Uma Maheswara Rao G commented on BOOKKEEPER-294: {quote} my preference

RE: Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Uma Maheswara Rao G
+1 for bookie format command. Also is it reasonable to expose one client API for format? Because infuture we may get the requirement like when we format the NN, we also should be able to format BK storage. Currently we don't have the format API for Journal namager. That is the current limitati

RE: Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Rakesh R
Shall I raise a JIRA for supporting the bookkeeper format command? -Rakesh From: Uma Maheswara Rao G [mahesw...@huawei.com] Sent: Thursday, June 14, 2012 2:28 PM To: bookkeeper-dev@zookeeper.apache.org Subject: RE: Preparing bookkeeper environment during bo

Re: Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Sijie Guo
I remembered that Ivan created a jira to provide admin commands to listing bookies & ledgers. Is the format command a kind of admin command? Sijie On Thu, Jun 14, 2012 at 5:06 PM, Rakesh R wrote: > Shall I raise a JIRA for supporting the bookkeeper format command? > > -Rakesh >

RE: Preparing bookkeeper environment during bookie startup

2012-06-14 Thread Rakesh R
Yeah it would be admin command, used for cleaning and preparing the bk env ready to start. BTW, could you please give the JIRA id. -Rakesh From: Sijie Guo [guosi...@gmail.com] Sent: Thursday, June 14, 2012 2:40 PM To: bookkeeper-dev@zookeeper.apache.org S

[jira] [Created] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

2012-06-14 Thread Brahma Reddy Battula (JIRA)
Brahma Reddy Battula created BOOKKEEPER-295: --- Summary: Relative paths are not getting resolved in bookie Key: BOOKKEEPER-295 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-295 Project:

[jira] [Created] (BOOKKEEPER-296) It's better provide stop script for bookie

2012-06-14 Thread Brahma Reddy Battula (JIRA)
Brahma Reddy Battula created BOOKKEEPER-296: --- Summary: It's better provide stop script for bookie Key: BOOKKEEPER-296 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-296 Project: Bookke

[jira] [Commented] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13294946#comment-13294946 ] Sijie Guo commented on BOOKKEEPER-295: -- which version of bookkeeper you used? I c

Jenkins build is back to stable : bookkeeper-trunk #561

2012-06-14 Thread Apache Jenkins Server
See

[jira] [Commented] (BOOKKEEPER-295) Relative paths are not getting resolved in bookie

2012-06-14 Thread Brahma Reddy Battula (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295011#comment-13295011 ] Brahma Reddy Battula commented on BOOKKEEPER-295: - HI Sijie, Thanks f

[jira] [Created] (BOOKKEEPER-297) It's better to create ledgers and journals while starting bookie(Currently it's not handled).

2012-06-14 Thread Brahma Reddy Battula (JIRA)
Brahma Reddy Battula created BOOKKEEPER-297: --- Summary: It's better to create ledgers and journals while starting bookie(Currently it's not handled). Key: BOOKKEEPER-297 URL: https://issues.apache.org/jir

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295017#comment-13295017 ] Ivan Kelly commented on BOOKKEEPER-294: --- -1 on this approach. We add a shutdow

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Uma Maheswara Rao G (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295020#comment-13295020 ] Uma Maheswara Rao G commented on BOOKKEEPER-294: Abrupt kill (kill -9

[jira] [Created] (BOOKKEEPER-298) We run with preferIPv4Stack in the scripts but not in the tests

2012-06-14 Thread Ivan Kelly (JIRA)
Ivan Kelly created BOOKKEEPER-298: - Summary: We run with preferIPv4Stack in the scripts but not in the tests Key: BOOKKEEPER-298 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-298 Project: Book

[jira] [Commented] (BOOKKEEPER-297) It's better to create ledgers and journals while starting bookie(Currently it's not handled).

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295027#comment-13295027 ] Sijie Guo commented on BOOKKEEPER-297: -- @Brahma the directories would be create

[jira] [Updated] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Junqueira updated BOOKKEEPER-294: Attachment: BOOKKEEPER-294.4.patch > Not able to start the bookkeeper befor

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295029#comment-13295029 ] Ivan Kelly commented on BOOKKEEPER-294: --- yes, kill -9 will skip shutdown hook, b

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295028#comment-13295028 ] Flavio Junqueira commented on BOOKKEEPER-294: - bq. I agree to keep the ass

[jira] [Updated] (BOOKKEEPER-298) We run with preferIPv4Stack in the scripts but not in the tests

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ivan Kelly updated BOOKKEEPER-298: -- Attachment: BOOKKEEPER-298.diff Patch added preferIPv4Stack to surefire configuration.

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295044#comment-13295044 ] Flavio Junqueira commented on BOOKKEEPER-294: - bq. If just the shutdown ho

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295050#comment-13295050 ] Ivan Kelly commented on BOOKKEEPER-294: --- Yup, if the znode is still there, then

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Uma Maheswara Rao G (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295059#comment-13295059 ] Uma Maheswara Rao G commented on BOOKKEEPER-294: @Flavio {quote} Agree

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295069#comment-13295069 ] Ivan Kelly commented on BOOKKEEPER-294: --- {quote} Cookies will guard from fake bo

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Rakesh R (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295086#comment-13295086 ] Rakesh R commented on BOOKKEEPER-294: - Thanks a lot Ivan for the good point. {quo

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295105#comment-13295105 ] Flavio Junqueira commented on BOOKKEEPER-294: - bq. As we thought before, n

[jira] [Commented] (BOOKKEEPER-250) Need a ledger manager like interface to manage metadata operations in Hedwig

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295155#comment-13295155 ] Ivan Kelly commented on BOOKKEEPER-250: --- Changes look very good. I have a few mi

[jira] [Commented] (BOOKKEEPER-250) Need a ledger manager like interface to manage metadata operations in Hedwig

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295160#comment-13295160 ] Ivan Kelly commented on BOOKKEEPER-250: --- Actually, having looked at BOOKKEEPER-2

[jira] [Commented] (BOOKKEEPER-250) Need a ledger manager like interface to manage metadata operations in Hedwig

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295169#comment-13295169 ] Ivan Kelly commented on BOOKKEEPER-250: --- Actually, looking more into 259, i see

[jira] [Commented] (BOOKKEEPER-259) Create a topic manager using versioned write for leader election

2012-06-14 Thread Ivan Kelly (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-259?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295175#comment-13295175 ] Ivan Kelly commented on BOOKKEEPER-259: --- I haven't reviewed this a great deal (p

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295355#comment-13295355 ] Sijie Guo commented on BOOKKEEPER-294: -- {quote} you would have nothing to protect

[jira] [Commented] (BOOKKEEPER-250) Need a ledger manager like interface to manage metadata operations in Hedwig

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295361#comment-13295361 ] Sijie Guo commented on BOOKKEEPER-250: -- {quote} ManagerLayout should use protobuf

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295366#comment-13295366 ] Sijie Guo commented on BOOKKEEPER-294: -- {code} $ bookkeeper-server/bin/bookkeeper

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Uma Maheswara Rao G (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295434#comment-13295434 ] Uma Maheswara Rao G commented on BOOKKEEPER-294: {code} I think we nee

[jira] [Commented] (BOOKKEEPER-294) Not able to start the bookkeeper before the ZK session timeout.

2012-06-14 Thread Rakesh R (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-294?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13295460#comment-13295460 ] Rakesh R commented on BOOKKEEPER-294: - Thanks everyone. If I understand the discus