Community over code EU 2024

2023-12-31 Thread Enrico Olivelli
Hello folks, I have submitted a talk for COC2024 (formerly known ad ApacheCon) about Zookeeper and Curator I hope to meet you in Bratislava in June! I will be there even if my talk won't be accepted. More about COC EU here: https://eu.communityovercode.org/ Cheers Enrico

CommunityOverCode - Halifax

2023-10-07 Thread Enrico Olivelli
Hello folks, Is there anyone at Halifax from our community? Enrico

Re: [ANNOUNCE] Apache ZooKeeper 3.9.0

2023-08-04 Thread Enrico Olivelli
Congratulations ! This is great step forward I hope that people will try out soon the Backup/Restore feature and that they provide feedback Enrico Il giorno ven 4 ago 2023 alle ore 13:24 Andor Molnar ha scritto: > > The Apache ZooKeeper team is proud to announce Apache ZooKeeper version >

Re: Session Issue

2023-07-20 Thread Enrico Olivelli
Miao, Sorry for late reply. Are you sure that the servers are not running in standalone mode? (Split brain). Second thing: your version is very old (3 4.5), it would be better to move to some more recent version. Enrico Il Sab 8 Lug 2023, 06:34 wangmiao ha scritto: > Hello Team, > We are

Re: How to find current size of a znode

2023-07-20 Thread Enrico Olivelli
Il Gio 20 Lug 2023, 13:42 Aishwarya Soni ha scritto: > Hi, > > Do we need to raise a feature request for this if currently it does not > exist? > Yes, you can open a JIRA (you will have to request a JIRA that we will approve). That said, we will need some volunteer to code the patch. Would

Re: [ANNOUNCE] Apache ZooKeeper 3.8.2

2023-07-18 Thread Enrico Olivelli
Congratulations ! Thank you Mate for driving the release Enrico Il giorno mar 18 lug 2023 alle ore 17:19 Szalay-Bekő Máté ha scritto: > > The Apache ZooKeeper team is proud to announce Apache ZooKeeper version > 3.8.2 > > ZooKeeper is a high-performance coordination service for distributed >

Re: Re: Any change from 3.6.3 -> 3.6.4 would cause hostname unresolved issue?

2023-06-19 Thread Enrico Olivelli
Paolo, Il Lun 19 Giu 2023, 16:43 Paolo Patierno ha scritto: > Hi all, > We were able to overcome the binding issue by setting > quorumListenOnAllIPs=true but from there we are getting a new issue that is > preventing leader election completion on first start-up. > > Getting the log of the

Re: ZK is binding an ephemeral port

2023-06-06 Thread Enrico Olivelli
gedUtil@47] - > > > Log4j > > > 1.2 jmx support not found; jmx disabled. > > > > > > Hence I don't see the 9010 tcp port bound. But why would a random > > > ephemeral port still open? > > > > > > Important that this port is random and keeps

Re: ZK is binding an ephemeral port

2023-06-06 Thread Enrico Olivelli
Andor, Il giorno mar 6 giu 2023 alle ore 14:59 Andor Molnar ha scritto: > > Hi folks, > > I cannot find an answer for this which annoys the hell out of me. > Please help to understand why ZooKeeper is binding a local ephemeral > port right after start without any quorum or client socket opened.

Re: 3-node Zookeeper ensemble unable to recover if leader fails

2023-05-23 Thread Enrico Olivelli
Joao, Il Mar 23 Mag 2023, 16:57 João Silva ha scritto: > Hi all, > > I've configured a 3-node Kafka (2.13) cluster with Zookeeper (3.6.3), with > each Zookeeper instance living in the same machine as each Kafka broker > (Java 11.0.18). Everything worked fine for a long long time. > > However,

[ANNOUNCE] Apache ZooKeeper 3.8.1 released

2023-01-29 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.8.1 ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Re: [ANNOUNCE] Year 2023 :)

2023-01-17 Thread Enrico Olivelli
LOL Enrico Il giorno sab 31 dic 2022 alle ore 17:26 Szalay-Bekő Máté ha scritto: > > The Apache ZooKeeper team is proud to announce Year 2023 > > You may have noticed that the year 2022 also gets EoL very soon. The new > 2023 version was released successfully and - depending on time zones - >

Re: Confusion around client ports and dynamic reconfiguration

2022-11-17 Thread Enrico Olivelli
Ruel, Il giorno mer 16 nov 2022 alle ore 16:15 Ruel, Ryan ha scritto: > > It seems that specifying the SECURE client port in the reconfig command does > work, while also keeping the same port defined as "secureClientPort" in > zookeeper.conf. > > (I thought I had tried this, but may have

[ANNOUNCE] Apache Curator 5.4.0 released

2022-11-03 Thread Enrico Olivelli
Hello, The Apache Curator team is pleased to announce the release of version 5.4.0. Apache Curator is a Java/JVM client library for Apache ZooKeeper[1], a distributed coordination service. Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much

Re: Zookeeper.sync() behavior

2022-09-22 Thread Enrico Olivelli
Keith Il Gio 22 Set 2022, 15:03 Keith Turner ha scritto: > I have read some documentation about Zookeeper.sync() that makes me > think there is no need to wait on its callback before reading data, > but its not explicitly stated in what I have read. I am wondering if > the following code is a

Re: A question about the client side exception

2022-09-05 Thread Enrico Olivelli
Yong, Il giorno lun 5 set 2022 alle ore 09:29 Yong Zhang ha scritto: > > Hi guys, > > I saw client has three exceptions: AUTH_FAILED, SESSION_EXPIRED, > and CONNECTION_LOSS. The question is about connection loss. > Connection loss has various reason to cause. One scenario we saw is the > client

Re: New releases page: endoflife.date

2022-07-27 Thread Enrico Olivelli
Thanks for the initiative Enrico Il giorno mer 27 lug 2022 alle ore 15:17 Kezhu Wang ha scritto: > > Hi Andor, > > Nice work. > > The anchor text and links for 3.6, 3.7 and 3.8 are wrong. I guess {{build}} > does not contribute to the final version. > > Best, > Kezhu > > On Wed, Jul 27, 2022 at

Re: Why do Zookeeper nodes only rejoin the ensemble if they are addressed as 0.0.0.0 in zoo.cfg

2022-07-01 Thread Enrico Olivelli
Usually the list of servers must be the same across all the ZK nodes, so you have to set the dns name correctly. The only change between the ZK servers is usually the contents of the myid file. If your machine needs the ZK server to bind on 0.0.0.0 there is a specific option quorumListenOnAllIPs.

Re: Can the leader of a Zookeeper be specifically selected at startup?

2022-06-20 Thread Enrico Olivelli
George, really, it should not be a problem which is the leader. it is automatically chosen. Each node should be ideally as powerful as the other peers. why do you need this "preferred leader" ? I am afraid that you have some flaw in your design Enrico Il giorno lun 20 giu 2022 alle ore 05:39

Re: Distinguish BadVersion a real exception or false positive for retry

2022-06-16 Thread Enrico Olivelli
.This is still a best effort check. If there are multiple writers even > I get the version of znode and it's mismatched I don't know whether it ever > succeed. > > Best, > tison. > > > Enrico Olivelli 于2022年6月16日周四 21:08写道: > > > Tison, > > > > Il gi

Re: Distinguish BadVersion a real exception or false positive for retry

2022-06-16 Thread Enrico Olivelli
Tison, Il giorno gio 16 giu 2022 alle ore 15:04 tison ha scritto: > > Hi ZooKeepers, > > When investigate this issue[1] I notice a possibility that if I write such > a program: > > while (true) { > try { > zk.setData(path, data, version); // (1) > break; > }

Re: Info about Zookeeper 3.8.0

2022-05-03 Thread Enrico Olivelli
Gello Il Mar 3 Mag 2022, 17:54 dilip anand ha scritto: > Hi, > > > > Zookeeper 3.8.0 is using what version of log4j and is this "3.8.0" a stable > release? > We are using logback in 3.8.0. Zookeeper 3.8.0 is released as production ready. If you are going to upgrade an existing cluster it is

[ANNOUNCE] Apache Curator 5.2.1 released

2022-03-17 Thread Enrico Olivelli
Hello, The Apache Curator team is pleased to announce the release of version 5.2.1. Apache Curator is a Java/JVM client library for Apache ZooKeeper[1], a distributed coordination service. Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much

[ANNOUNCE] Apache ZooKeeper 3.8.0

2022-03-07 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.8.0 ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Re: When will 3.7.0 become a "stable" release

2022-02-25 Thread Enrico Olivelli
Hello, Il Ven 25 Feb 2022, 15:20 Scott Guminy ha scritto: > 3.7.0 has been out since 27 March, 2021. When will this release be marked > as a stable release? Is it ready for production environments? Are there > outstanding bugs that I should wait for? > We are going to release 3.8.0 very

Re: Help With zookeeper follower connections

2022-02-23 Thread Enrico Olivelli
e Analyst > Pronouns: he/him > P: 613.232.7797 x1131 > Toll-free: 866.545.3745 x1131 > jason.gramme...@agilitypr.com > agilitypr.com > Learn new PR tips from our free resources. > > -----Original Message- > From: Enrico Olivelli > Sent: February 23, 2022 8:

Re: Help With zookeeper follower connections

2022-02-23 Thread Enrico Olivelli
Jason, Do you have other tools on those machines that could open client connections? Enrico Il Mer 23 Feb 2022, 13:30 Jason Grammenos ha scritto: > Hello, > > > > I have a 5 node zookeeper (+ kafka) cluster. I am trying to find out if > the inter node connection behaviour is normal. > > I

Re: Zookeeper on windows standalone

2022-01-06 Thread Enrico Olivelli
otherwise I will try to help next week Enrico > > > Thanks and Regards, > Rinilnath > Mobile#9786285451 > > On Thu, 6 Jan, 2022, 22:40 Enrico Olivelli, wrote: > > > Il Gio 6 Gen 2022, 14:45 rinilnath r ha scritto: > > > > > Is this group still valid? &g

Re: Zookeeper on windows standalone

2022-01-06 Thread Enrico Olivelli
Il Gio 6 Gen 2022, 14:45 rinilnath r ha scritto: > Is this group still valid? > Yes This list is still valid. Probably there are many people still on vacation (like me :) ) Can you please share more information? What is it a 'available zookeeper default node'? How are you setting acls?

Re: Using Zookeeper as producer-consumer

2021-12-28 Thread Enrico Olivelli
Hello Il Mar 28 Dic 2021, 17:26 arvind garg ha scritto: > Hi Team, > > I am new to zookeeper and thinking to use zookeeper as Producer-Consumer > for message passing as we do in Kafka. Will it be a good idea to go for > zookeeper instead of Kafka? > No it isn't a good idea. Zookeeper is meant

Re: Impact of CVE-2021-4104

2021-12-19 Thread Enrico Olivelli
implementation. In Pulsar for instance we are launching zookeeper and putting log4j2 in the classpath. I hope that helps Enrico Il Dom 19 Dic 2021, 21:51 Enrico Olivelli ha scritto: > We are going to switch to Lombardia in the next release. > It will hopefully come soon, but we don't have

Re: Impact of CVE-2021-4104

2021-12-19 Thread Enrico Olivelli
We are going to switch to Lombardia in the next release. It will hopefully come soon, but we don't have a date. By the way zookeeper uses slf4j so you could change the log provider by removing log4j and adding your favourite logging implementation. In Pulsar for instance we are launching

High heap usage during log replay

2021-11-23 Thread Enrico Olivelli
Hello, I am investigating a case in which I have a tx log file of about 4GB, the ZooKeeper server has 4GB of memory. The overall database in memory is very small, less than 1 GB. It looks like that when the ZK server starts and replays the txlog it is using more than 4GB and it crashes. The

Re: Usage Of PEM Files for Keystores and Truststores in Apache zookeeper 3.5.9

2021-11-12 Thread Enrico Olivelli
Sai, Il giorno mer 10 nov 2021 alle ore 20:01 sai chandra mouli < tsaimouli1...@gmail.com> ha scritto: > Hello, > > I am using Apache Zookeeper 3.5.9. My aim is to utilize existing PEM keys > (private key and signed certificate ) to establish a TLS connection to > zookeeper. > I have combined

Re: Meetup talk about Zookeeper and Pulsar

2021-10-14 Thread Enrico Olivelli
ut events about Zookeeper, feel free to share here! > > Agree! (And thank you for the link; I hope to also contribute at some > point.) > > Cheers, -D > > > > Enrico Olivelli writes: > > Hello, > > Tomorrow I will be talking about Zookeeper and Pulsar > &

Meetup talk about Zookeeper and Pulsar

2021-09-29 Thread Enrico Olivelli
Hello, Tomorrow I will be talking about Zookeeper and Pulsar The time is good for people in Europe and in Asia as it is organised by the Pulsar Yahoo! Japan group. It is in English by the way. https://japan-pulsar-user-group.connpass.com/event/222026/ I hope we could share more talks about

Re: zookeeper ssl alert “alert bad certificate”

2021-08-16 Thread Enrico Olivelli
John, Il giorno sab 14 ago 2021 alle ore 23:19 john mark < johnmarkcaus...@gmail.com> ha scritto: > Hi there! > > > > I am using Kafka (version 2.3.0) and Zookeeper (version 3.5.5-3) - the > stable version is 3.6.3. > > When I test the SSL of my

Re: [ANNOUNCE] Apache Curator 5.2.0 released

2021-07-27 Thread Enrico Olivelli
Great ! Thank you Cameron for driving the release. This release comes with a few interesting additions like https://issues.apache.org/jira/browse/CURATOR-584 it would be great to write up something about this release and make more buzz around Curator Any volunteers ? Enrico Il giorno mar 27

Re: Zookeeper version 3.6 performance comparison

2021-04-16 Thread Enrico Olivelli
Il Gio 15 Apr 2021, 04:27 rammohan ganapavarapu ha scritto: > Hi, > > Is there any performance/benchmarking comparison available for the > zookeeper version 3.6 with previous versions? We are planning to upgrade to > 3.6 from 3.4.* and wanted to make sure we won't see perf drop. > Hi We do not

Re: Is there an official ZooKeeper server interface definition?

2021-02-25 Thread Enrico Olivelli
Tison, I am not sure I understand what you mean. If you want to abstract from ZooKeeper you have to create your own set of interfaces/classes that mimic ZooKeeper API. The ZooKeeper client API is the main ZooKeeper client class. If you what to start a ZooKeeper Server you can go with the

Re: write performance issue in 3.6.2

2021-02-19 Thread Enrico Olivelli
e > > issue happened with the combinations of > > > > > > 3.4 client and 3.6 server > > > > 3.6 client and 3.6 server > > > > Please let me know if you need any additional info. > > > > Thanks, > > > > Li > > &g

Re: write performance issue in 3.6.2

2021-02-15 Thread Enrico Olivelli
IIRC The main difference is about the switch to Netty 4 and about using more DirectMemory. Are you using the Netty based stack? Apart from that macro difference there have been many many changes since 3.4. Do you have some metrics to share? Are the JVM configurations and zoo.cfg configuration

Re: ZooKeeper Server Not Listening on Port 2888

2021-02-08 Thread Enrico Olivelli
connect > to these ports. It was this fact that pointed me to something going on > with a firewall somewhere. > > At any rate, problem solved. Thanks for your help, Enrico. > > Brian > > Quoting Enrico Olivelli : > > > With a "grep 2888" you do not see any

Re: ZooKeeper Server Not Listening on Port 2888

2021-02-07 Thread Enrico Olivelli
ppear to know their individual ids. > > I disabled SELinux and the local firewall on each of the hosts and the > issue remains. > > Brian > > > On Feb 8, 2021, at 1:04 AM, Enrico Olivelli wrote: > > > > Brian > > > > Il Lun 8 Feb 2021, 03:50

Re: ZooKeeper Server Not Listening on Port 2888

2021-02-07 Thread Enrico Olivelli
Brian Il Lun 8 Feb 2021, 03:50 Brian Rickabaugh ha scritto: > Hello, everyone. > > I am working on configuring a new set of 3 ZooKeeper servers and I am > finding that none of the servers are listening on port 2888. There are no > relevant messages or exceptions logged during start up. > > The

Re: ZooKeeper Operator

2021-01-18 Thread Enrico Olivelli
Thanks for sharing! We need more support for K8s in the OS community, this is a good step Enrico Il giorno lun 18 gen 2021 alle ore 11:18 Flavio Junqueira ha scritto: > We've been getting questions and sometimes contributions to the ZooKeeper > Kubernetes Operator we originally did for

Re: The YCSB benchmark tool for zookeeper is now available

2020-12-13 Thread Enrico Olivelli
Great Thank you very much Justin Enrico Il Lun 14 Dic 2020, 05:36 Justin Ling Mao ha scritto: > Now users can benchmark your zookeeper ensemble with YCSB. Here is the > ZK-PR(https://github.com/apache/zookeeper/pull/1558). Have fun for it:)

Re: ZooKeeper 3.5.9 release

2020-11-01 Thread Enrico Olivelli
Rajini, Sorry for so late reply. Do you have a way to update to 3.6.2? If you want to upgrade to 3.5.9 the effort would be very like updating to 3.6.2. Btw I think it would be worth to cut a new release, I am adding dev@ to my answer in order to start a discussion. We should just find a

Re: Correlate Ephemeral Owner with connected session

2020-10-30 Thread Enrico Olivelli
Paul, do you have a way to upgrade to the latest ZK 3.6.2 ? many things changed since 3.4.6, it is a pretty old version The session is declared as "expired" on the server side, and this will in turn trigger the deletion of the ephemeral nodes, if they aren't deleted the session is still active

Re: 32 Bit Zookeeper C-client

2020-10-28 Thread Enrico Olivelli
Il giorno mer 28 ott 2020 alle ore 16:27 Dipti Mulay ha scritto: > Hi, > > I am a newbie to Zookeeper. I want to integrate the Zookeeper C-client > with my 32 bit code base. > So basically I need 32 bit Zookeeper C-client libraries. > > I have followed the following steps but I am not sure if I

Re: upgrade from 3.4.5 to 3.5.6

2020-10-08 Thread Enrico Olivelli
happening? > Is your client configured to use SSL ? Enrico > > Thanks, > - > Kuldeep Singh Budania > Software Architect > > > > On Mon, Jul 13, 2020 at 2:19 PM Enrico Olivelli - Diennea > wrote: > > > It looks like we ported it to 3.5. &g

ApacheCon is going to start

2020-09-28 Thread Enrico Olivelli
Hi ZooKeeper community, Probably you already know that ApacheCon@Home is going to take place this week. Even if it will be a "virtual" conference this time, it will also be a great chance to meet and see each other. This is the list of Tracks and a link to Camille's keynote

Re: ZooKeeper Cluster Health Checking

2020-09-23 Thread Enrico Olivelli
Adrien Il giorno mer 23 set 2020 alle ore 10:59 adrien ruffie < adriennolar...@hotmail.fr> ha scritto: > Hello all, > > I have a problem in production ... > > We have the following zoo configuration file: > > tickTime=4000 > dataDir=/var/lib/zookeeper > > dataLogDir=/var/log/zookeeper > >

Re: Issues building and running Zookeeper Inspector

2020-09-23 Thread Enrico Olivelli - Diennea
Brent Please go ahead and send a PR You can also subscribe to d...@zookeeper.apache.org for discussions related to patches. Thank you very much Enrico Il giorno 22/09/20, 19:52 "Brent" ha scritto: Hi everyone, I just filed a Jira related to the Zookeeper Inspector contrib project

Re: Zookeeper on Kubernetes and Presistent Volumes

2020-09-14 Thread Enrico Olivelli
Remi, sorry for the late reply. Your cluster would be able to work if and only if at least X/2 + 1 servers are up and running and properly connected to the other peers. any server that is restarted will rejoin from scratch. It is very dangerous ! you won't be able to recover and probably it will

Working only (was Re: Zookeeper on Kubernetes and Presistent Volumes)

2020-09-12 Thread Enrico Olivelli
Rudrani Il Sab 12 Set 2020, 00:13 Rudrani Angira ha scritto: > Hello everyone > > I have two questions to get started on zookeeper project. > > How can I build the code and what test cases should I start with. > Just run mvn clean verify To run the build and tests I am planning to use

[ANNOUNCE] Apache ZooKeeper 3.6.2 released

2020-09-10 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.6.2 ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Re: 3.4.8 to 3.5.8 rolling update

2020-09-07 Thread Enrico Olivelli
James Il Lun 7 Set 2020, 18:07 James Gover ha scritto: > Hi, > > We are upgrading from zookeeper 3.4.8 to 3.5.8 via 3.4.14. > There are several mentions of going from 3.4.6 to 3.5.8, is going from > 3.4.14 to 3.5.8 ok. > > In terms of Leader-tasks running during the upgrade. The intent is to >

Re: upgrade from 3.4.5 to 3.5.6

2020-07-13 Thread Enrico Olivelli - Diennea
t;> >> >>> > >>> >> we have done below changes in java.env file >>> > >>> >> >>> > >>> >> export SERVER_JVMFLAGS=" >>> > >>> >> >>> > >>> >>

[ANNOUNCE] Apache Curator 5.1.0 released

2020-07-06 Thread Enrico Olivelli
Hello, The Apache Curator team is pleased to announce the release of version 5.1.0. Apache Curator is a Java/JVM client library for Apache ZooKeeper[1], a distributed coordination service. Apache Curator includes a high-level API framework and utilities to make using Apache ZooKeeper much

Problems with Grafana dashboard

2020-06-25 Thread Enrico Olivelli
Hello, I am trying to import this Grafana Dashboard that @Justin Ling Mao designed for ZooKeeper https://grafana.com/grafana/dashboards/10465 But I have this problem react-dom.production.min.js:171 TypeError: Cannot read property 'exports' of undefined at e.loadPlugin

Re: upgrade from 3.4.5 to 3.5.6

2020-06-25 Thread Enrico Olivelli - Diennea
I mean in zoo.cfg Not as a system property Enrico Il giorno 25/06/20, 08:19 "Enrico Olivelli - Diennea" ha scritto: Hi You have to enable Netty on the server side Something like: serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory Hope

Re: upgrade from 3.4.5 to 3.5.6

2020-06-25 Thread Enrico Olivelli - Diennea
>>> The reason to upgrade to 3.4.6 first is to avoid the following > >>> error: > >>>>>>> > >>>>>>>> 2013-01-30 11:32:10,663 [myid:2] - WARN [localhost/ > >>> 127.0.0.1:2784 > >>>>>>>

Re: How to deliberately cause a split brain?

2020-06-19 Thread Enrico Olivelli
Il giorno ven 19 giu 2020 alle ore 13:40 Tim Ward < tim.w...@featurespace.co.uk> ha scritto: > From: Michael Han > > There are different cases for split brain and how to test the monitor > code depends on what signals > > you are using - but most usually, a split brain case can be created by >

Re: How to deliberately cause a split brain?

2020-06-18 Thread Enrico Olivelli
I told about using iptables only in order to create a network partition. If you want a simple split brain just switch every server in the cluster to standalone mode (comment server.xx lines) I saw it happening in production, it was so nasty :-( Enrico Il giorno gio 18 giu 2020 alle ore 13:50

Re: How to deliberately cause a split brain?

2020-06-18 Thread Enrico Olivelli
Tim You can just use iptables and simulate that some network paths are not working properly Enrico Il Gio 18 Giu 2020, 10:26 Tim Ward ha scritto: > I have been tasked with writing some monitoring code to detect a Zookeeper > split brain using the monitoring system. > > > > All well and good, I

Re: [ANNOUNCE] Apache Curator 5.0.0 released

2020-05-29 Thread Enrico Olivelli - Diennea
Congrats Enrico Il giorno 29/05/20, 09:45 "tison" ha scritto: Congrats! Best, tison. Szalay-Bekő Máté 于2020年5月29日周五 下午3:14写道: > congratulations for the Curator community, seems to be a nice release! :) > > On Fri, May 29, 2020 at 1:48 AM Cameron McKenzie >

Re: Curator 5.0 binary compatibility

2020-05-27 Thread Enrico Olivelli
nt. Enrico > -Jordan > > On May 27, 2020, at 9:51 AM, Enrico Olivelli wrote: > > Jordan and Cameron > I have double checked most of the projects I am aware and finally I came to > the conclusion that upgrading to 5.0 in all of my cases is safe. > > I only add a nuisance on Ap

Re: Curator 5.0 binary compatibility

2020-05-27 Thread Enrico Olivelli
hould do otherwise. > > > > On Wed, May 27, 2020 at 6:32 AM Enrico Olivelli <mailto:eolive...@gmail.com>> wrote: > > > >> > >> > >> Il giorno mar 26 mag 2020 alle ore 21:53 Jordan Zimmerman < > >> jor...@jordanzimmerman.com> ha scr

Re: Curator 5.0 binary compatibility

2020-05-26 Thread Enrico Olivelli
a/org/apache/curator/framework/listen/ListenerContainer.java#L87 > > -JZ > > On May 25, 2020, at 1:33 AM, Enrico Olivelli wrote: > > Il giorno dom 24 mag 2020 alle ore 23:17 Jordan Zimmerman < > jor...@jordanzimmerman.com> ha scritto: > > Enrico, > > It r

Re: Curator 5.0 binary compatibility

2020-05-25 Thread Enrico Olivelli
can exist in the same JVM as > earlier versions of Curator. > Backout the change and mark the APIs as deprecated and push the problem to > a future version > > -Jordan > > > On May 24, 2020, at 3:58 PM, Enrico Olivelli > wrote: > > > > > > > > Il Do

Re: Curator 5.0 binary compatibility

2020-05-24 Thread Enrico Olivelli
mpilation will break if you are > using any of the changed APIs, but they are pretty trivial change to fix. > We could potentially deprecate the existing APIs and add the new ones, but > this will produce more tech debt to clean up later. > cheers > > On Sat, May 23, 2020 at 7:40 PM Enr

Re: Curator 5.0 binary compatibility

2020-05-23 Thread Enrico Olivelli
rator50Test.java:26) > at test.Test.main(Test.java:9) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl

Re: How to EXPORT ZooKeeper data from ZooKeeper v3.5 in Cluster with SSL enabled

2020-05-15 Thread Enrico Olivelli
Nigam Usually applications use Zookeeper for coordination, service discovery or configuration management. In these case is not useful to port data from dev/qa to/from production. Or do you need to export data in order to debug a problem? Btw the only option I know is to write a simple program

Re: [ANNOUNCE] Apache ZooKeeper 3.5.8

2020-05-12 Thread Enrico Olivelli
Kudos! Thank you Mate Enrico Il Mar 12 Mag 2020, 08:22 Szalay-Bekő Máté ha scritto: > The Apache ZooKeeper team is proud to announce Apache ZooKeeper version > 3.5.8 > > ZooKeeper is a high-performance coordination service for distributed > applications. It exposes common services - such as

Re: ZooKeeper dynamic reconfig issue when Quorum authn/authz is enabled

2020-05-08 Thread Enrico Olivelli
Il Ven 8 Mag 2020, 17:35 rajsura ha scritto: > Hello, > > With 'DynamicReconfig' feature in v3.5.7, ideally the servers can be added > and removed without restarting ZooKeeper service on any of the nodes. > > But, with Keberos based quorum authentication/authorization enabled via > '_HOST'

Re: ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-05-08 Thread Enrico Olivelli
Trying to restart from the beginning... You are upgrading your cluster. - Before the upgrade were you running SSL client port and SSL Quorum ? - If you enable only SSL Quorum, does it run ? - if you enable only client SSL port does it run ? - is it the problem only when you configure both SSL

Re: ZOOKEEPER-1634: hardening security by teaching server to enforce client authentication

2020-05-05 Thread Enrico Olivelli
protected on the other hand. > > Andor > > > > > On 2020. May 5., at 17:25, Guilherme Ramos wrote: > > > > Hello. > > As requested by Enrico Olivelli, I'm trying to use Zookeeper to 3.6.1 > > using SASL, jaas(with Server defined) and still accepting client

Re: ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-05-04 Thread Enrico Olivelli
from the stacktrace is looks like the error is on Netty and Netty is only for the communication port to the client, so the quorum communication should not be affected but this error. So you have SSL clients and SSL quorum communication ? With portUnification you r using only one single port that

Re: ZooKeeper config caching issues?

2020-05-02 Thread Enrico Olivelli
Rajkiran I am not sure that changing the addresses this way is supported. Apart from that... Maybe you can try to enable reconfig and use it to fix the problem. Otherwise another way would be to add new nodes with the new addresses and then dismiss the old nodes Enrico Il Sab 2 Mag 2020,

Re: ZK not starting during upgrade to use 3.6.1 with SSL communication

2020-05-02 Thread Enrico Olivelli
Hi, >From which version are you upgrading? Enrico Il Sab 2 Mag 2020, 01:39 blb.dev ha scritto: > I also notice that in the /conf/zoo.cfg file the servers are being added > out > of order, but the /data/myid files are all correct server id. > > For example, it's showing as: >

[ANNOUNCE] Apache ZooKeeper 3.6.1

2020-05-01 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.6.1 ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Re: Zookeeper-2355

2020-04-21 Thread Enrico Olivelli
Srikant It looks like the fix version is 3.5.4 so 3.5.5 should not be affected Enrico Il Mar 21 Apr 2020, 18:43 shrikant kalani ha scritto: > Can anyone confirm if below Jira affected 3.5.5 version also ? > > https://issues.apache.org/jira/browse/ZOOKEEPER-2355 > > Thanks > Srikant Kalani > >

Re: Issue starting zookeeper using QuickStart

2020-04-21 Thread Enrico Olivelli - Diennea
Dave, are you running on Windows ? I am not sure ZooKeeper server is able to run on Windows. Are you using "Git bash" or "cygwin" ? Which version are you using ? Enrico Il giorno 21/04/20, 17:15 "David Cleary" ha scritto: Following the QuickStart instructions, I am running into the

Re: reconfiguration error even though reconfig is turned off

2020-04-11 Thread Enrico Olivelli
This is very annoying, I see. A possible fix for you is to let the user that executes Zookeeper to write in the directory. Can you create a JIRA? It would be better that the daemon does not write to the directory with code Enrico Il Dom 12 Apr 2020, 02:10 allen chan ha scritto: > Hello > >

Re: [ANNOUNCE] New ZooKeeper committer: Mate Szalay-Beko

2020-04-03 Thread Enrico Olivelli
Kudos Mate! Welcome aboard Enrico Il Ven 3 Apr 2020, 10:46 Norbert Kalmar ha scritto: > Congratulations Máté, well deserved! :) > > - Norbert > > On Fri, Apr 3, 2020 at 10:42 AM Andor Molnar wrote: > > > The Apache ZooKeeper PMC recently extended committer karma to Mate and he > > has

Re: Debian/Ubuntu package of version 3.5?

2020-03-31 Thread Enrico Olivelli - Diennea
Reynald You can try to check at BigTop http://bigtop.apache.org/ As ZooKeeper community we are not providing packaging other than bare tar.gz Enrico Il giorno 31/03/20, 08:34 "Reynald Borer" ha scritto: Hello everyone, Is there any Debian/Ubuntu package of zookeeper 3.5 available?

Re: upgrade from 3.4.5 to 3.5.6

2020-03-24 Thread Enrico Olivelli
:-) Enrico > Thanks, > - > Kuldeep Singh Budania > Software Architect > > > On Tue, Mar 24, 2020 at 3:58 PM Enrico Olivelli wrote: > > > Hi > > You have to upgrade to latest 3.4.x Zookeeper then you will upgrade to > > 3.5.7. > >

Re: upgrade from 3.4.5 to 3.5.6

2020-03-24 Thread Enrico Olivelli
Hi You have to upgrade to latest 3.4.x Zookeeper then you will upgrade to 3.5.7. All should run well without issues Enrico Il Mar 24 Mar 2020, 10:18 kuldeep singh ha scritto: > Hi Team, > > We are upgrading zookeeper from 3.4.5 to 3.5.6. I have set up 3 node > cluster where 2 node are on

Re: Zookeeper not listening on 2888 and appears nodes are not connecting to each other.

2020-03-23 Thread Enrico Olivelli
I think this is the problem and it looks like a bug Exception when following the leader java.lang.IllegalArgumentException at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1314) at java.util.concurrent.ThreadPoolExecutor.(ThreadPoolExecutor.java:1202) at

[ANNOUNCE] Apache ZooKeeper 3.6.0 released

2020-03-04 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.6.0. ZooKeeper is a high-performance coordination service for distributed applications. It exposes common services - such as naming, configuration management, synchronization, and group services - in a simple interface so

Re: [ANNOUNCE] Apache Curator 4.3.0 released

2020-02-29 Thread Enrico Olivelli
Great Thank you for driving this release Enrico Il Sab 29 Feb 2020, 10:08 tison ha scritto: > Congratulations! > > Best, > tison. > > > Cameron McKenzie 于2020年2月29日周六 下午4:59写道: > > > Hello, > > > > The Apache Curator team is pleased to announce the release of version > > 4.3.0. Apache

Re: Upgrade guide from 3.4.x to 3.5.x?

2020-02-14 Thread Enrico Olivelli
If you are upgrading a very short lived cluster (no snapshot on server data directory) you should upgrade to 3.5.7 (not 3.5.6 or less). There was an important issue in the upgrade procedure that has been fixed in 3.5.7 Enrico Il Sab 15 Feb 2020, 07:27 Szalay-Bekő Máté ha scritto: > An other

Re: Admin server deadlocks?

2020-02-11 Thread Enrico Olivelli - Diennea
Il giorno 12/02/20, 01:21 "gdgenz" ha scritto: Andor Molnar-3 wrote > Enrico, I think I'll step up for RM of 3.5.7 this week. Hope I can find > some free cycles. Stay tuned. > > Andor We just upgraded several zookeeper clusters (Kafka and ClickHouse) to 3.5.6 and

Re: Zookeeper 3.5.6 supports log4j 2.x?

2020-02-01 Thread Enrico Olivelli
No, sorry. But CVE-2019-17571 does not affect neither Zookeeper client nor Zookeeper server. We have an open ticket about this problem. Probably we will move to slf4j on 3.7. In case any help or contribution in this direction will be very appreciated Enrico Il Sab 1 Feb 2020, 00:58 Daniel

Re: Zookeeper resolving to old host IP addresses

2020-01-21 Thread Enrico Olivelli
Hi, Which version of ZK are you using? Enrico Il mar 21 gen 2020, 22:51 rammohan ganapavarapu ha scritto: > Hi, > > Does zookeeper cache the host IP? if so how long does it cache? I have a > zk cluster in autoscaling groups and when a new node comes up, other nodes > still resolving to old IP.

Re: Admin server deadlocks?

2020-01-21 Thread Enrico Olivelli
ocks? > > Yes, attached. > > On Tue, Jan 21, 2020 at 6:19 AM Enrico Olivelli <mailto:eolive...@gmail.com>> wrote: > Do you have a dump of the stack traces if the JVM during the problem? > > > Enrico > > Il lun 20 gen 2020, 21:06 Cee Tee c.turks...@

Re: Admin server deadlocks?

2020-01-20 Thread Enrico Olivelli
Do you have a dump of the stack traces if the JVM during the problem? Enrico Il lun 20 gen 2020, 21:06 Cee Tee ha scritto: > Hey that sounds familiar, we do curl to the stats api and they pretty > consistently start to hang after a while (minutes to hours). > I thought it was something in our

Re: ZooKeeper in secure mode

2020-01-16 Thread Enrico Olivelli - Diennea
Praveen In order to use Netty it is better for you to use 3.5.6 that contains Netty 4, ZooKeeper 3.4.x uses the deprecated Netty 3. For TSL, and it is known to have security flaws and it is no more maintained Btw your problem looks like there is a missing class and it is weird Enrico Il

Re: Zookeeper and curator SASL authentication

2020-01-15 Thread Enrico Olivelli - Diennea
ing I need to set in Zookeeper (zoo.cfg) ? On Wed, Jan 15, 2020 at 12:12 PM Enrico Olivelli - Diennea < enrico.olive...@diennea.com> wrote: > Usually with SASL auth you are using: > kerberos.removeHostFromPrincipal=true > kerberos.remo

  1   2   3   >