R: switching from FlatLedgerManager to HierarchicalLedgerManager

2015-11-06 Thread Enrico Olivelli - Diennea
e.org/jira/browse/BOOKKEEPER-438 in master. created a jira about verifying and documenting the steps: https://issues.apache.org/jira/browse/BOOKKEEPER-878. I will try to get to it today. Enrico, does it work for you? - Sijie On Wed, Nov 4, 2015 at 8:07 PM, Enrico Olivelli - Diennea mailto:en

R: newbie question

2015-11-09 Thread Enrico Olivelli - Diennea
Here it is https://issues.apache.org/jira/browse/BOOKKEEPER-879 Thank you Da: Sijie Guo [mailto:si...@apache.org] Inviato: sabato 7 novembre 2015 01:08 A: user@bookkeeper.apache.org Oggetto: Re: newbie question Enrico, so you are interested in a creation time of a ledger. that sounds a good fie

Switch from FlatLedgerManager to HierarchicalLedgerManager

2015-11-16 Thread Enrico Olivelli - Diennea
Hi, Have you already written some doc on how to "safely" switch from FlatLedgerManager to HierarchicalLedgerManager ? https://issues.apache.org/jira/browse/BOOKKEEPER-878 Thank you -- Enrico Iscriviti alla nostra newsletter per rimanere aggiornato su digital

Cannot compile 4.3.2 tag

2015-11-17 Thread Enrico Olivelli - Diennea
Hi, I'm trying to compile at 4.3.2 tag from https://github.com/apache/bookkeeper/tree/release-4.3.2 and I get some error (maybe some commit is missing from BOOKKEEPER-438 ?) This is my command line: git clone https://github.com/apache/bookkeeper.git cd bookkeeper git checkout tags/release-4.3.2

R: Cannot compile 4.3.2 tag

2015-11-17 Thread Enrico Olivelli - Diennea
2015 23:41 A: user@bookkeeper.apache.org; Sijie Guo Cc: Enrico Olivelli - Diennea Oggetto: Re: Cannot compile 4.3.2 tag Sijie / Enrico, I've updated the tag and the release candidate artifacts. Matteo On Tuesday, November 17, 2015 12:04 PM, Sijie Guo mailto:si...@apache.org>> wr

R: R: Cannot compile 4.3.2 tag

2015-11-19 Thread Enrico Olivelli - Diennea
ato: mercoledì 18 novembre 2015 22:49 A: user@bookkeeper.apache.org; Matteo Merli Cc: Enrico Olivelli - Diennea Oggetto: Re: R: Cannot compile 4.3.2 tag Matteo, I am not sure. We need to talk to Apache Infra to ask them for help. Do you mind create a JIRA to INFRA to ask them address that? - Sijie

R: Cannot compile 4.3.2 tag

2015-11-19 Thread Enrico Olivelli - Diennea
--- [INFO] Total time: 1:11.239s [INFO] Finished at: Thu Nov 19 10:16:26 GMT 2015 [INFO] Final Memory: 67M/758M [INFO] On 19 Nov 2015, at 09:29, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com&g

Switching to HierarchicalLedgerManagerFactory

2015-11-27 Thread Enrico Olivelli - Diennea
Any news on https://issues.apache.org/jira/browse/BOOKKEEPER-878 I cannot achieve a switch because of this error while trying to switch even trying to format the system Configured layout org.apache.bookkeeper.meta.HierarchicalLedgerManagerFactory does not match existing layout org.apache.bookke

R: Switching to HierarchicalLedgerManagerFactory

2015-11-30 Thread Enrico Olivelli - Diennea
15:13 Committed as 698283126ca1e9854be28b063e91208fdf4e710b in branch-4.3 Does your code contains this porting? Thanks. -Jia On Fri, Nov 27, 2015 at 7:09 PM, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Any news on https://issues.apache.org/jira/browse/BOOKKEEPER-8

BOOKKEEPER-878

2015-12-17 Thread Enrico Olivelli - Diennea
Hi, Any news on the switch from FlagLedgerManager to HierarchicalLedgerManager ? https://issues.apache.org/jira/browse/BOOKKEEPER-878 we deployed today in production systems Bookkeeper 4.3.2 and it is working very fine we hope that a switch is possible because our production systems Bookies are

R: BOOKKEEPER-878

2015-12-18 Thread Enrico Olivelli - Diennea
: Sorry for the delays. Trying to get to it today. - Sijie On Thu, Dec 17, 2015 at 3:54 AM, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Hi, Any news on the switch from FlagLedgerManager to HierarchicalLedgerManager ? https://issues.apache.org/jira/browse/BOOKKEEPER-8

How to speed up reads from bookie

2016-05-20 Thread Enrico Olivelli - Diennea
Hi, I'm wondering how to speed up reads from BookKeeper. "Tail" reads are very fast because they hit Bookie cache, but when I need to scan the full content of a ledger performances are in general very poor. Is it only a matter of disks or is there any Bookie parameter tuning possible ? Thank you

Re: How to speed up reads from bookie

2016-05-23 Thread Enrico Olivelli - Diennea
45 AM, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Hi, I'm wondering how to speed up reads from BookKeeper. "Tail" reads are very fast because they hit Bookie cache, but when I need to scan the full content of a ledger performances are in general very poo

Bookkeeper Backup and Disaster Recovery

2016-08-03 Thread Enrico Olivelli - Diennea
Hi, I would like set up an effective disaster recovery system for BookKeeper. The case of a single bookie unrecoverably lost is not a problem "by design", we use replication for such an issue. So my case is that all bookies in the same cluster are lost (datacenter disaster). From my point of vie

Re: [ANNOUNCE] Apache BookKeeper 4.7.2 released

2018-09-05 Thread Enrico Olivelli - Diennea
Congrats to every one ! And thunks to Sijie for being the release manager Enrico Il giorno mar, 04/09/2018 alle 14.12 -0700, Sijie Guo ha scritto: The Apache BookKeeper team is proud to announce Apache BookKeeper version 4.7.2. Apache BookKeeper is a scalable, fault-tolerant, and low-latency s

Re: Bookeeper exception on pods restart

2019-11-28 Thread Enrico Olivelli - Diennea
Hi Prajakta, What ledger creation parameters are you using ? Ensamble size, Write quorum size, Ack quorum size ? If ackQuorumSize < WriteQuorumSize it is possible that a write to the bookie failed and even if the entry is supposed to be on the bookie it never reached it but the overall single w

Re: Bookeeper exception on pods restart

2019-11-28 Thread Enrico Olivelli - Diennea
ecommend, so we never see this? What other ledger creation parameters do you need information about? -Thanks, Prajakta From: Enrico Olivelli - Diennea Sent: Thursday, November 28, 2019 5:19 PM To: user@bookkeeper.apache.org Cc: f...@apache.org Subject: Re: Bookeeper exception on pods restart

Re: Bookeeper exception on pods restart

2019-11-28 Thread Enrico Olivelli - Diennea
resolve itself when auto-replication runs?? -Thanks, Prajakta From: Enrico Olivelli - Diennea Sent: Thursday, November 28, 2019 6:11 PM To: user@bookkeeper.apache.org Cc: f...@apache.org Subject: Re: Bookeeper exception on pods restart [EXTERNAL EMAIL] I don’t think there is a good value. Yo

Re: Can't create ledger

2019-12-03 Thread Enrico Olivelli - Diennea
Liu, From your logs I see that the client is able to reach ZooKeeper, so I think that createLedger should complete. Are you sure that your program is not stuck at “addEntry” ? Is your client machine able to connect to the bookies ? You can dump the stacktrace of the JVM with jstack I suggest you

Re: Can't create ledger

2019-12-04 Thread Enrico Olivelli - Diennea
le "GC task thread#2 (ParallelGC)" os_prio=0 tid=0x7fbc60024800 nid=0x55e5 runnable "GC task thread#3 (ParallelGC)" os_prio=0 tid=0x7fbc60026800 nid=0x55e6 runnable "GC task thread#4 (ParallelGC)" os_prio=0 tid=0x00007fbc60028000 nid=0x55e7 runnable &

Re: Can't create ledger

2019-12-04 Thread Enrico Olivelli - Diennea
l.com>> ha scritto: How to enable debug log level? Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> 于2019年12月4日周三 下午6:18写道: From the logs we see that the client is able to perform discovery of bookies and in order to perform this operation it must read from ZooKeeper.

Journal file never deleted

2015-07-08 Thread Enrico Olivelli - Diennea
Hi, I'm running BookKeeper 4.3.0 (and 4.3.1). I noticed that journal files (*.txn files) never get deleted. I'm using ServerConfiguration.setMaxBackupJournals(1) and default flushinterval of 1 second. I'm running "embedded" bookies, that is that I launch the bookie inside another JVM, with the f

R: Journal file never deleted

2015-07-08 Thread Enrico Olivelli - Diennea
, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Hi, I’m running BookKeeper 4.3.0 (and 4.3.1). I noticed that journal files (*.txn files) never get deleted. I’m using ServerConfiguration.setMaxBackupJournals(1) and default flushinterval of 1 second. I’m running “em

R: Journal file never deleted

2015-07-09 Thread Enrico Olivelli - Diennea
ing data in ledger storage is flushed. What is your rate on adding entries? How many .txn files you have? On Wed, Jul 8, 2015 at 3:27 AM, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: I’m running all the default values, except from maxbackups which I set to 1 Even

R: Journal file never deleted

2015-07-13 Thread Enrico Olivelli - Diennea
ledger a. Important Subcase: errors during the “recovery”…then we need to retry recovery after some time Da: Sijie Guo [mailto:si...@apache.org] Inviato: giovedì 9 luglio 2015 18:30 A: user@bookkeeper.apache.org; Enrico Olivelli - Diennea Oggetto: Re: Journal file never deleted The

R: Journal file never deleted

2015-09-08 Thread Enrico Olivelli - Diennea
I think I go into https://issues.apache.org/jira/browse/BOOKKEEPER-695 Da: Enrico Olivelli - Diennea [mailto:enrico.olive...@diennea.com] Inviato: lunedì 13 luglio 2015 12:58 A: user@bookkeeper.apache.org Oggetto: R: Journal file never deleted At time of writing in my test env I have

R: Apache Bookkeeper 4.0 release date

2015-09-09 Thread Enrico Olivelli - Diennea
(sorry for cross-posting) Due to that bug in our production servers Bookies directories are continuing to grow, and the only "fix" is to destroy the bookie after some time and setup up a new bookie. I hope noone else run into this trouble. We will be longing for the release Thank you a lot Enr

R: Apache Bookkeeper 4.0 release date

2015-09-10 Thread Enrico Olivelli - Diennea
I’m running 4.3.1, a fix on 4.3 would be great, thanks ! Da: Sijie Guo [mailto:si...@apache.org] Inviato: mercoledì 9 settembre 2015 20:03 A: user@bookkeeper.apache.org; Enrico Olivelli - Diennea Oggetto: Re: Apache Bookkeeper 4.0 release date I think a bug fix release is much safer for you

R: Apache Bookkeeper 4.0 release date

2015-09-14 Thread Enrico Olivelli - Diennea
-cli jna net.java.dev.jna Da: Enrico Olivelli - Diennea [mailto:enrico.olive...@diennea.com] Inviato: giovedì 10 settembre 2015 09:00 A: Sijie Guo ; user@bookkeeper.apache.org Oggetto: R: Apache Bookkeeper 4.0 release date I’m running 4.3.1

Fastest way to write to bookkeeper

2015-09-14 Thread Enrico Olivelli - Diennea
Hi, What is the fastest way to write to BookKeeper a batch of entries ? I'm using a sequence of asyncAddEntry, some thing like the code below: List res= new ArrayList<>(); // holds entry sequence numbers CountDownLatch latch = new CountDownLatch(size); for (int i = 0; i < size; i++) { . th

R: Fastest way to write to bookkeeper

2015-09-14 Thread Enrico Olivelli - Diennea
ch, add a bunch of stuff, and so on. With addEntry, you just invoke it every time you have a new message. -Flavio On 14 Sep 2015, at 05:02, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Hi, What is the fastest way to write to BookKeeper a batch of entries ? I’m usi

R: Fastest way to write to bookkeeper

2015-09-15 Thread Enrico Olivelli - Diennea
rite and you seem to be getting 250 kbytes per second. That's low, you should be able to get higher throughput. We used to get over 20k adds/s of 1kbytes each, which is more like 20Mbytes/s. -Flavio On 14 Sep 2015, at 06:49, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>>

Ability to force BookieID

2015-09-22 Thread Enrico Olivelli - Diennea
Hi, I'm using option useHostNameAsBookieID in order to use the hostname as BookieID. It happened that the hostname of the machine changed and so a Bookie became broken. Is there any other way to "force" the BookieID ? Should I file a JIRA issue ? Thank you Enrico Olivelli Software Development

R: Apache Bookkeeper 4.0 release date

2015-09-24 Thread Enrico Olivelli - Diennea
, 2015 at 2:35 AM, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Actually I’m running 4.3.1 version in production are you sure that the new version would not be 4.3.2 ? This is my pom.xml org.apache.bookkeeper bookkeeper-server 4.3.1 c

R: Apache Bookkeeper 4.0 release date

2015-09-25 Thread Enrico Olivelli - Diennea
es is well appreciated as usual. In particular, if there are issues you want to see resolved in 4.3.2, please mark them as such on jira (add 4.3.2 to the fix version). -Flavio On 24 Sep 2015, at 00:09, Enrico Olivelli - Diennea mailto:enrico.olive...@diennea.com>> wrote: Hi, is there an

News on 4.3.2

2015-10-12 Thread Enrico Olivelli - Diennea
Hi, Any news on the release of 4.3.2 ? Thank you very much Enrico Olivelli Software Development Manager @Diennea Tel.: (+39) 0546 066100 - Int. 925 Viale G.Marconi 30/14 - 48018 Faenza (RA) MagNews - E-mail Marketing Solutions http://www.magnews.it Diennea - Digital Marke

Bookkeeper 4.3.2

2015-10-30 Thread Enrico Olivelli - Diennea
Hi, sorry for bothering you, any news on 4.3.2 release ? Enrico Olivelli Software Development Manager @Diennea Tel.: (+39) 0546 066100 - Int. 925 Viale G.Marconi 30/14 - 48018 Faenza (RA) MagNews - E-mail Marketing Solutions http://www.magnews.it Diennea - Digital Marketin

Check if bookie is in readonlymode from code

2015-11-02 Thread Enrico Olivelli - Diennea
Hi, I'm running Bookies in "Embedded mode", that is , launched from a custom program. What is the best check to do in order to check on BookieServer.class instance to known if is actually in "readonly mode" Actually I use BookieServer.isRunning to known if the server is up and running Thanks --

switching from FlatLedgerManager to HierarchicalLedgerManager

2015-11-04 Thread Enrico Olivelli - Diennea
Hi, I need to switch from FlatLedgerManager to HierarchicalLedgerManager in a production system. What is the best procedure ? Is it possible to migrate existing ledgers ? http://bookkeeper.apache.org/docs/master/bookkeeperInternals.html Thanks -- Enrico Iscrivi