Re: Using ClientCnxnSocketNetty over ClientCnxnSocketNIO in 3.5

2017-07-22 Thread Enrico Olivelli
e, I expect there would be more users who > want to (have to) switch to Netty because the client - server SSL was a > long awaited feature. > Thank you It is clear Enrico > On Thu, Jul 20, 2017 at 1:18 PM, Enrico Olivelli <eolive...@gmail.com> > wrote: > > > Michael, &

Re: Using ClientCnxnSocketNetty over ClientCnxnSocketNIO in 3.5

2017-07-20 Thread Enrico Olivelli
rod and what their feedback is. > > On Thu, Jul 20, 2017 at 4:07 AM, Enrico Olivelli <eolive...@gmail.com> > wrote: > > > Hi, > > I see that ClientCnxnSocketNIO is the default socket type for 3.5. > > Does anyone know if ClientCnxnSocketNetty is "better&quo

Re: NPE on ClientCnxnSocketNetty on 3.5.3-BETA

2017-09-07 Thread Enrico Olivelli
3.5.3 Beta , my bad I have only written it in the subject Thanks Enrico On gio 7 set 2017, 21:18 Abraham Fine <af...@apache.org> wrote: > Would you mind sharing which version of ZooKeeper you are using? > > Thanks, > Abe > > On Thu, Sep 7, 2017, at 06:59, Enrico Olivelli

NPE on ClientCnxnSocketNetty on 3.5.3-BETA

2017-09-07 Thread Enrico Olivelli
this problem ? Otherwise I will create a JIRA and start looking at the cause Thanks Enrico Olivelli

Discover LEADER from JMX

2018-05-08 Thread Enrico Olivelli
Hi, is there any way to see in JMX which is the leader of a ZooKeeper cluster? My problem is: given access to any of the nodes of the cluster I want to know from JMX which is the current leader. It seems to me that this information is not available, you can know only if the local node is Leader

Re: Discover LEADER from JMX

2018-05-08 Thread Enrico Olivelli
which is the leader from its point of view. >From your answer I guess that the final answer is no. I did not check the code, if the change is minimal (I guess the follower knows which is the current leadger) I can work on a patch Thank you Enrico > > -Flavio > > > On 8 M

Re: [ANNOUNCE] Apache ZooKeeper 3.5.4-beta

2018-05-19 Thread Enrico Olivelli
> > We would like to thank the contributors that made the release possible. > > Regards, > > The ZooKeeper Team > -- -- Enrico Olivelli

Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-18 Thread Enrico Olivelli
Hi, Unfortunately not, I need this feature as well. As soon as I have time I will work on patch, it will not be so difficult. Enrico Il giorno lun 18 giu 2018 alle ore 14:57 harish lohar ha scritto: > Hi, > > Is there a way to query on any follower node and find out about the leader > of

Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-26 Thread Enrico Olivelli
FYI the patch has been merged to master (3,6) e to 3.5 branch, and it will be available from 3.5.5 onwards https://issues.apache.org/jira/browse/ZOOKEEPER-3066 Enrico Il giorno mar 19 giu 2018 alle ore 15:47 Enrico Olivelli < eolive...@gmail.com> ha scritto: > I have logged a JIR

Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-19 Thread Enrico Olivelli
I have logged a JIRA https://issues.apache.org/jira/browse/ZOOKEEPER-3066 Feel free to add comments to the issue Enrico Il giorno mar 19 giu 2018 alle ore 15:04 Enrico Olivelli < eolive...@gmail.com> ha scritto: > I am going to work on this issue and to provide a patch. For me it is

Re: How to new quorum leader in ZK Cluster ( except from stat command)

2018-06-19 Thread Enrico Olivelli
I am going to work on this issue and to provide a patch. For me it is really important. But I will start working on it as soon as I have time. There is already a discussion on the dev@ list about this topic, if anyone has cycles we can continue the discussion there. - Enrico Il giorno lun 18

Re: concept question for zookeeper

2018-07-15 Thread Enrico Olivelli
ew in official > site is quite simple and quick jump into the API. Thanks very much for some > clues!! -- -- Enrico Olivelli

Re: concept question for zookeeper

2018-07-15 Thread Enrico Olivelli
problem is mostly about configuring HDFS? Kerberos/SASL config is only a matter of setting jaas.conf and the keytabs, I don't know how to give good referenced for HDFS Your error seems mostly a problem with bad keytab configuration Enrico > On 15 Jul 2018, at 11:23 PM, Enrico Olivelli wro

Re: Upgrade required Java version to 1.8 on 3.5+

2018-03-07 Thread Enrico Olivelli
> Hive = 1.8 required > Curator = 1.7 required (has 1.8-only async module to take advantage of Java > lambdas) > Solr = 1.8 > > As always, your feedback is much appreciated. > > Thanks, > Andor > -- -- Enrico Olivelli

Re: Client-Server authentication with DIGEST-MD5

2018-04-11 Thread Enrico Olivelli
le. If a node has children it cannot be deleted, so maybe the solution for you is to create a special "root" node, like /myapp and set ACLs on it and on every children. This is actually what I am doing. Hope that helps Enrico > > Regards, > > Rémi > > -Message d

Re: Maven migration - main src dir moved

2018-10-05 Thread Enrico Olivelli
ase your PRs > and resolve conflicts to get them merged. > > Sorry for the inconvenience. > > Regards, > Andor > > > -- -- Enrico Olivelli

Re: ZooKeeper 3.6.0 Release (fix for a large number of watches)

2018-11-16 Thread Enrico Olivelli
ttps://issues.apache.org/jira/browse/ZOOKEEPER-1177 > [2] https://github.com/apache/zookeeper/pull/590 > > Regards, > Kevin > -- -- Enrico Olivelli

Re: Migrate ZK to ACL ZK

2019-01-20 Thread Enrico Olivelli
cause you should have at least two features: - enable auth on zk client - every time Nifi creates a znode to ZK it sets correct ACLs Enrico > -Ryan H > > On Sat, Jan 19, 2019 at 2:25 PM Enrico Olivelli > wrote: > > > Hi Ryan, > > I think this should be s

Re: Migrate ZK to ACL ZK

2019-01-19 Thread Enrico Olivelli
ster. Can the Username/Password ACL info just be applied to > the existing roots (just add the ACL info to the NiFi configuration) and > then that's it? > > Any direction or suggestions is appreciated!! > > > Cheers, > > Ryan H > -- -- Enrico Olivelli

Re: Memory progressive spike using zookeeper HA Mode

2019-02-27 Thread Enrico Olivelli
JS, Which version of zookeeper server and client are you using? Are you using default configuration? Enrico Il mer 27 feb 2019, 10:01 zoo_js ha scritto: > Hi, > > I have 3 zookeeper servers for HA and was trying from load testing with > Hashicorp Vault. The process will create 1000 transit

Re: Enable authentication per client

2019-02-09 Thread Enrico Olivelli
Ram It depends on your use case. Auth is required mostly in conjunction with ACLs, so you can have client which perform auth and clients without auth. This is useful during the transition from no-ACL to an ACL based database. Hope that helps Enrico Il giorno sab 9 feb 2019, 16:13 Norbert Kalmar

Re: Enable authentication per client

2019-02-09 Thread Enrico Olivelli
to connect usually, auth gives client the ability to set ACL and to access znodes with ACL Enrico > > On Sat, Feb 9, 2019, 9:56 AM Enrico Olivelli wrote: > > > Ram > > It depends on your use case. > > Auth is required mostly in conjunction with ACLs, so you can h

Re: Setting OnOutOfMemoryError for server process

2019-01-29 Thread Enrico Olivelli
AFAIK it should be harmless Enrico Il giorno mar 29 gen 2019, 13:20 Debraj Manna ha scritto: > Hi > > Can someone let me know is there any recommended way to use > OnOutOfMemoryError JVM params with zookeeper 3.4.13 server? > > I can see a related JIRA for this >

Re: when does ZK plan to release a stable version for 3.5.x?

2019-05-15 Thread Enrico Olivelli
Hi ZG, Maybe if you have cycles you could try out the RC, this way you will know if it is fixing your problems Cheers Enrico Il giorno mer 15 mag 2019 alle ore 16:35 Norbert Kalmar ha scritto: > Hi ZG, > > 3.5.5 stable RC is currently under vote, and has 2 binding +1 so far, so... > basically

Re: ACL implimentation

2019-06-07 Thread Enrico Olivelli
Ram Can you describe better your problem ? Usually you are activating auth on clients and then you apply the ACLs this way all clients will be able to access data. Try our procedure in a staging environment before doing in in production Enrico Il gio 6 giu 2019, 23:56 rammohan ganapavarapu ha

Re: Zookeeper client connection

2019-06-07 Thread Enrico Olivelli
A round robin DNS name should work Enrico Il ven 7 giu 2019, 22:39 rammohan ganapavarapu ha scritto: > Hi, > > Since with 3.5.5 version clients can watch on zoookeeper/confg znode for > the active zk servers, do we still need to give all the IPs of zk servers > to client? or can i give one IP

Re: [ANNOUNCE] Apache ZooKeeper 3.5.5

2019-05-20 Thread Enrico Olivelli
Congratulations! Enrico Il lun 20 mag 2019, 19:28 Lars Francke ha scritto: > Congratulations on this release! It looks great and I'm looking forward to > using all those new features. > > Thank you, everyone, for your work on this. > > On Mon, May 20, 2019 at 7:06 PM Andor Molnar wrote: > > >

Re: Issue migrating from Zookeeper 3.4.14 to 3.5.5

2019-08-13 Thread Enrico Olivelli
ossible to force Zookeeper to create a snapshot? I will > > check I think the snapshot count is set to 1 in the cfg > > > > > Am 30.07.2019 um 08:06 schrieb Enrico Olivelli : > > > > > > Il giorno lun 29 lug 2019 alle ore 23:59 Jörn Franke < > > jornfra...@gma

Re: Issue migrating from Zookeeper 3.4.14 to 3.5.5

2019-07-30 Thread Enrico Olivelli
entries. > > > > Something is broken! > > > > > > > > This is expected behavior introduced in ZOOKEEPER-2325. We don't want > > to > > > > end up with potential inconsistent state across the ensemble when > > > > recovering from e

Re: create or setData in transaction?

2019-08-14 Thread Enrico Olivelli
>> > >> > >> > >> > >> > On 2019. Aug 6., at 14:44, Zili Chen wrote: > >> > > >> > Hi Enrico, > >> > > >> > Thanks for your reply. > >> > > >> >> In this case usually y

Re: Clarification: SSL Client: Need of keystore?

2019-08-14 Thread Enrico Olivelli
Il mar 30 lug 2019, 20:49 Jörn Franke ha scritto: > Hi, > > I have a kerberized Zookeeper cluster and would like to add SSL on the > client side and to the quorum. > > So far the server configuration is clear. However, according to > >

Re: About ZooKeeper Dynamic Reconfiguration

2019-08-21 Thread Enrico Olivelli
Il mer 21 ago 2019, 17:22 Alexander Shraer ha scritto: > That's great! Thanks for sharing. > > > Added benefit is that we can also control which data center gets the > quorum > > in case of a network outage between the two. > > Can you explain how this works? In case of a network outage between

Re: About ZooKeeper Dynamic Reconfiguration

2019-08-21 Thread Enrico Olivelli
Il mer 21 ago 2019, 20:27 Cee Tee ha scritto: > > Yes, one side loses quorum and the other remains active. However we > actively control which side that is, because our main application is > active/passive with 2 datacenters. We need Zookeeper to remain active in the applications active

Re: The current epoch, 7, is older than the last zxid, 8589935882

2019-08-20 Thread Enrico Olivelli
Hello, Sorry for so late reply. If you have 3 servers you can nuke the broken one and make it start from scratch, it will join the cluster and then recover data from the other servers Try it in a staging env, not in production Enrico Il mar 20 ago 2019, 20:30 Debraj Manna ha scritto: > The

Re: ZooKeeper swag on RedBubble available

2019-09-03 Thread Enrico Olivelli
Super ! Enrico Il mar 3 set 2019, 10:57 Andor Molnar ha scritto: > Hi ZooKeeper fans, > > Get your favourite ZooKeeper swag today! :) > > > https://www.redbubble.com/people/comdev/works/40935715-apache-zookeeper?asc=u > > Best, > Andor > > >

Re: Migrate from 3.4.x to 3.5.5

2019-09-03 Thread Enrico Olivelli
Il mar 3 set 2019, 13:45 Norbert Kalmar ha scritto: > In my opinion we should not fallback to something else if the client wants > a CONTAINER node, which is a new feature in 3.5. > +1 Enrico > This makes ZooKeeper behave kind of unreliable. Client wants a CONTAINER > node, and gets a

Re: [RFR] ZOOKEEPER-3290: Throw detailed KeeperException when multi-op failed

2019-09-12 Thread Enrico Olivelli
Zili, Thank you for driving this. We must ensure that that change does not break 100% compatibility with 3.4 client. The best way to prove it is to setup some integration test that tests a compatibility matrix, it will be an huge work. In absence of that facility we need some Jute expert to

Re: Default for secureClientPort and adminServer

2019-07-28 Thread Enrico Olivelli
Jan Il dom 28 lug 2019, 13:27 Jan Høydahl ha scritto: > Hi > > The default reserved port number for Zookeeper is 2181. So when installing > ZK using package managers that's typically what you'll get. > Now with Netty and SSL you want clients to connect to secureClientPort. In > the Confluence

Re: Issues with using ZooKeeper 3.5.5 together with Solr 8.2.0

2019-07-30 Thread Enrico Olivelli
Due to potential security risks since ZK 3.5 you have to explicitly whitelist some commands. I think you should contact SolrCloud I hope that helps Enrico Il mar 30 lug 2019, 04:08 Zheng Lin Edwin Yeo ha scritto: > Hi, > > I am using the new Solr 8.2.0 with SolrCloud and external ZooKeeper

Re: Issues with using ZooKeeper 3.5.5 together with Solr 8.2.0

2019-08-05 Thread Enrico Olivelli
r > whatever? > +1 I don't know how much this can impact downstream bundles. I am not an user of admin server yet, I will switch as soon as 3.6 is out. Enrico > Jan Høydahl > > > 4. aug. 2019 kl. 21:15 skrev Enrico Olivelli : > > > > Il sab 3 ago 2019, 21:41 Shawn He

Re: Default for secureClientPort and adminServer

2019-07-28 Thread Enrico Olivelli
for Prometheus.io, and it will require a different port as well Enrico > -- > Jan Høydahl, search solution architect > Cominvent AS - www.cominvent.com > > > 28. jul. 2019 kl. 13:53 skrev Enrico Olivelli : > > > > Jan > > > > Il dom 28 lug 2019, 13:27

Re: Issue migrating from Zookeeper 3.4.14 to 3.5.5

2019-07-29 Thread Enrico Olivelli
eply. They read from the same disk paths and > >> have the same access rights (in fact the RHEL service executes them as > the > >> same specific user). > >> > >> On Mon, Jul 29, 2019 at 10:09 PM Enrico Olivelli > >> wrote: > >> > &

Re: Issue migrating from Zookeeper 3.4.14 to 3.5.5

2019-07-29 Thread Enrico Olivelli
Il lun 29 lug 2019, 21:50 Jörn Franke ha scritto: > Hi, > > I tried to migrate a lab environment from Zookeepr 3.4.14 (used for Solr) > to 3.5.5 and encountered an issue. It is ZooKeeper in standalone mode > (other environments have a proper ensemble). I increased jute.maxbuffer > beyond the

Re: An Apache Zookeeper Security Vulnerability

2019-08-09 Thread Enrico Olivelli
Those points do not seem a security issue Enrico Il ven 9 ago 2019, 17:52 Fu, Xiaoqin ha scritto: > Dear developers: > I am a Ph.D. student at Washington State University. I applied > dynamic taint analyzer (distTaint) to Apache Zookeeper (version 3.4.11). > And then I find a security

Re: Issues with using ZooKeeper 3.5.5 together with Solr 8.2.0

2019-08-04 Thread Enrico Olivelli
Il sab 3 ago 2019, 21:41 Shawn Heisey ha scritto: > On 8/2/2019 10:33 AM, Patrick Hunt wrote: > > Right, it prints the membership of the quorum, see (for majority case > which > > is typical): > > org.apache.zookeeper.server.quorum.flexible.QuorumMaj#toString > > >

Re: create or setData in transaction?

2019-08-06 Thread Enrico Olivelli
Il mar 6 ago 2019, 13:47 Zili Chen ha scritto: > Any ideas? > > > Zili Chen 于2019年7月29日周一 上午11:12写道: > > > Hi ZooKeepers, > > > > Currently our transaction mechanism supports doing > > create/setData/checkExist/delete in transaction. However, taking this > > scenario into consideration, we want

Re: Is 3.5.5 client compatible with 3.4.x servers

2019-07-18 Thread Enrico Olivelli
I was not aware of that change. I should say that I have been running HBase client with 3.5.x zk client and 3.4 servers for years without issues Enrico Il gio 18 lug 2019, 06:05 Göktürk Gezer ha scritto: > Thank you for the reference Micheal. > > I discovered a workaround by forcing Curator

Re: Zookeeper latency calculation

2019-07-17 Thread Enrico Olivelli
Il mar 16 lug 2019, 19:05 rammohan ganapavarapu ha scritto: > Hi, > > I am trying to understand how zookeeper latency calculated, mntr command > always give avg_latency "0", can some one help how to calculate avg request > latency in zookeeper? > Are you also taking metrics on the client?

Re: How to scale ZooKeeper to support 10K concurrent connections?

2019-09-27 Thread Enrico Olivelli
Yue As Jorn said you should introduce some kind of scalable middleware. Zookeeper shouldn't be used in the hotpath. If you want something simple and based on components from Zookeeper ecosystem maybe you can give a look to this simple task broker service, Majordodo (full disclosure, I am one of

Re: PoweredBy Zookeeper

2019-09-24 Thread Enrico Olivelli
public and > free. welcome scrutiny. 1.2 The documentation has a declaration about > intellectual property rights and privacy.2 If you have a use case, please > do not hesitate, submit a pull request or write an email to ** > d...@zookeeper.apache.org** > > - Original Mess

Re: how session expire works in zookeeper codebase?

2019-09-24 Thread Enrico Olivelli
Zili, Sessions expire in the server. If you are not connected to the cluster you cannot assume that the session is expired. There is another weird edge case: if the server/cluster is down the session cannot expire. Hope that helps Enrico Il mar 24 set 2019, 13:54 Zili Chen ha scritto: > Hi

Re: Can I use czxid as unique sequence number?

2019-10-02 Thread Enrico Olivelli
Can you give more details about your usecase? Enrico Il mer 2 ott 2019, 10:04 Vincent Ngan ha scritto: > Hi, > > According to the definition of czxid as mentioned in the documentation, can > I assume that the czxid of every node is unique? If this is the case, can I > just use it for purpose

Re: One node crashing in 3.4.11 triggered a full ensemble restart

2019-10-02 Thread Enrico Olivelli
Any particular error/stacktrace in the logs? If it is zookeeper that is self killing it should log it, otherwise is some other external system, I am sorry I don't know Exhibitor Hope that helps Enrico Il mer 2 ott 2019, 21:40 Jerry Hebert ha scritto: > Hi Jörn, > > No, this was a very

Re: One node crashing in 3.4.11 triggered a full ensemble restart

2019-10-02 Thread Enrico Olivelli
> wasn't sure if that would work or not. e.g., maybe I could bring up the > new > > 3.5.5 ensemble and temporarily form a 10-node ensemble (five 3.4.11 > nodes, > > five 3.5.5 nodes), let them sync and then kill off the old 3.4.11 boxes? > > > Thanks! > Jerry >

Re: Is there any tool to verify zookeeper snapshot file?

2019-10-30 Thread Enrico Olivelli
Ram Il mer 30 ott 2019, 21:23 rammohan ganapavarapu ha scritto: > Hi, > > I am trying to see is there any tool available to verify the zk snapshot > file, any such thing exist? > What do you mean with 'verify'? To inspect the contents? Enrico > > Thanks, > Ram >

Re: Zookeeper 3.5 SSL and Kerberos authentication

2019-11-06 Thread Enrico Olivelli
Jorn, IIRC in my company we set up some ZK with TLS and SASL, using TLS for encryption and SASL for auth. We were using early 3.5.3 or something like that. Do you have a specific error? I can also add that in 3.6.0 we will have port-unification, this way you can configure only one client port

Re: Native client on MacOS and Windows?

2019-11-22 Thread Enrico Olivelli
Il sab 23 nov 2019, 04:42 deepak ha scritto: > Hi Andor, > > MacOS support would be great from a developer convenience perspective - > this would enable us to implement our application (that interacts with > ZooKeeper) in a test-driven way. From a software development perspective, > it would be

Re: java.lang.NullPointerException on some commands (stats, conf)

2019-12-03 Thread Enrico Olivelli
2019 alle ore 18:45 Mike Smotritsky < mikesmotrit...@ongov.net> ha scritto: > Hi Enrico, > > Thank you very much, that would be great! > > Thanks and Regards, > > Mike > > -----Original Message- > From: Enrico Olivelli [mailto:eolive...@gmail.com] > S

Re: Anyone running Zookeeper on ARM?

2019-12-08 Thread Enrico Olivelli
Brian Il giorno sab 7 dic 2019 alle ore 00:07 Brian Lininger < brian.linin...@veeva.com> ha scritto: > Hi ZooKeeper's, > I was poking around the Release Notes for 3.4/3.5 releases and the > Zookeeper docs for tested platforms and I could find any details so I > thought I'd ask is Zookeeper

Re: [External] Re: FAILED TO WRITE PID

2019-12-16 Thread Enrico Olivelli
me for kafka server? > What will you suggest me? Binary or source? > What exactly the special need to prefer source package over binary? > > > Regards, > Sunil. > -----Original Message- > From: Enrico Olivelli > Sent: Monday, December 16, 2019 10:01 PM > To: UserZ

Re: Zookeeper 3.5 SSL and Kerberos authentication

2019-12-17 Thread Enrico Olivelli
LocalRunnable.run(FastThreadLocalRunnable.java:30) > > at java.lang.Thread.run(Thread.java:748) > > > > I will update the Jira too. > > > > Andor > > > > > > > > > > > > > On 2019. Nov 8., at 20:31, Jörn Franke wrote: > &

Re: ZK makes apache 2019 "top 5" projects

2019-12-11 Thread Enrico Olivelli
Yes, great. Please also note that Kafka and Lucene/Solr that are still listed in that list are using Zookeeper :) Enrico Il gio 12 dic 2019, 05:46 tison ha scritto: > Kudos! > > Best, > tison. > > > Patrick Hunt 于2019年12月12日周四 上午11:32写道: > > > This is really awesome, check it out: > >

Re: Zookeeper SSL C Client Support

2019-12-11 Thread Enrico Olivelli
Pradeep Il gio 12 dic 2019, 07:02 Pradeep Choudhary ha scritto: > Dear Experts, > > I see that this PR https://github.com/apache/zookeeper/pull/625 is merged > to master to enable Zookeeper C Client SSL support. We are planning to use > this in our software. Do you have any plan to release a

Re: java.lang.NullPointerException on some commands (stats, conf)

2019-12-05 Thread Enrico Olivelli
ate can help to cut it - it would be great, if not - I'll need more > detailed instructions on how to cut it please. > > Thanks and Regards, > Mike > > -Original Message- > From: Enrico Olivelli [mailto:eolive...@gmail.com] > Sent: Thursday, December 05, 2019 10:08 AM

Re: FAILED TO WRITE PID

2019-12-16 Thread Enrico Olivelli
If you only want to run the server you just need the binary package. A common practice is to rename the zoo_sample.cfg file to zoo.cfg and the run the server Running zkServer.sh from the sources requires to build the sources with mvn clean install -DskipTests Hope that helps Enrico Il lun 16

Re: Notification messages in log

2019-12-11 Thread Enrico Olivelli
Ram, How many GB of logs do you have? Those messages are not scary but they shouldn't be so many. Enrico Il mer 11 dic 2019, 23:16 rammohan ganapavarapu ha scritto: > After 3.4.14 version upgrade i am seeing continuous messages as bellow in > logs, is it normal? > > > 2019-12-11 22:12:44,036

Re: String inconsistency issue when running ZK with OpenJDK 10 on SKL machines

2019-10-28 Thread Enrico Olivelli
Fangmin, Il lun 28 ott 2019, 02:23 Fangmin Lv ha scritto: > Hey everyone, > > (Forgot to add subject in the previous email, resent with clear subject.) > > I'd like to share some weird inconsistency bugs we saw recently on prod, > the root cause and potential fixes of it. It took us around a

Re: Kerberos login error: Message stream modified (41)

2019-10-28 Thread Enrico Olivelli
Andor Il lun 28 ott 2019, 17:44 Andor Molnar ha scritto: > Hi, > > I’m facing the following error message when trying to run ZooKeeper 3.5.5 > on Java 11 with Kerberos authentication: > > 2019-10-28 16:30:04,811 INFO > org.apache.zookeeper.server.ServerCnxnFactory: Using >

Re: Zookeeper 3.4.13 and OpenJDK

2019-10-24 Thread Enrico Olivelli
Sure, from jdk8 upwards. You can use openjdk, Oracle jdk, adoptopenjdk or any other jdk, but Java version must be >= 8 Be aware that current stable version is 3.5.6, if you are starting a new project please consider using that version. Regards Enrico Il gio 24 ott 2019, 13:51 Debraj Manna ha

Re: Zookeeper 3.5.6 - Exception causing close of session 0x0: null

2019-10-24 Thread Enrico Olivelli
Sebastian This 'null' looks like a NullPointerException (this kind f exceptions tracks only the full stacktrace at the first occurrence usually) Can you find some full stacktrace of the error? Are you able to enable more detailed logging? Do you see errors on the client (kafka broker?) ? Maybe on

Re: Issue Workaround

2019-10-28 Thread Enrico Olivelli
Matthew, can you share some logs ? That issue is quite generic, and it describes a case that usually works as expected (= system works fine) It is very common to bounce a server in a cluster of three, so there must be a cause for your problem. In a 3 nodes clusters usually you can continue

Re: Zookeeper 3.5.6 - Exception causing close of session 0x0: null

2019-10-29 Thread Enrico Olivelli
[myid:1] - > > INFO > > [QuorumPeer[myid=1](plain=/0.0.0.0:2181)(secure=disabled):Follower@69] > > - FOLLOWING - LEADER ELECTION TOOK - 66 MS > > Oct 23 02:07:44 zookeeper_node_1: 2019-10-22 13:07:44,514 [myid:1] - > > INFO > > [QuorumPeer[myid=1](plain=/0.0.0.0:2181)(

Re: Kerberos login error: Message stream modified (41)

2019-10-29 Thread Enrico Olivelli
Andor did you try with a smaller file ? Enrico Il giorno mar 29 ott 2019 alle ore 11:09 Enrico Olivelli - Diennea < enrico.olive...@diennea.com> ha scritto: > I would try to shrink the file to the minimum and add one line at a time. > > With JDK8 we also had problems with Unl

[RELEASE] Apache ZooKeeper 3.5.6 released

2019-10-19 Thread Enrico Olivelli
The Apache ZooKeeper team is proud to announce Apache ZooKeeper version 3.5.6 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: Invalid config for 3.5.6 works in 3.4.13

2019-11-19 Thread Enrico Olivelli
Hello Ronald, Il mer 20 nov 2019, 02:18 Ronald Fenner ha scritto: > I'm trying to migrate from 3.4.13 to 3.5.6 with exhibitor. > > The following config generate by exhibitor work in 3.4.13 but I get an > invalid config in 3.5.6 > > #Auto-generated by Exhibitor - Wed Nov 20 01:11:36 UTC 2019 >

Re: Issues with leader shutdown in a 3-node zookeeper cluster

2019-11-19 Thread Enrico Olivelli
Hi Sushil Il mer 20 nov 2019, 02:22 Sushil Kumar ha scritto: > Hello > > > I am trying to run a 3-node zookeeper cluster. > It starts up good and I am able to access it. > However, as soon as I shutdown the leader, some other node out of > left-overs becomes a primary node which I believe is

Re: Viewing the complete configuration of a running Zookeeper server

2019-11-25 Thread Enrico Olivelli
Brian, Il lun 25 nov 2019, 23:36 Bryan Pendleton ha scritto: > I'm trying to build some tools that examine a running Zookeeper ensemble, > and one of the things I want to do in my tool is to view the complete > configuration of that server. The reason I want to do this is because we > had an

Re: java.lang.NullPointerException on some commands (stats, conf)

2019-12-02 Thread Enrico Olivelli
Mike, we can cut new releases from 3.5 branch. It is current stable branch. We can cherry pick Mate's fix to branch-3.5 Enrico Il giorno lun 2 dic 2019 alle ore 16:36 Mike Smotritsky < mikesmotrit...@ongov.net> ha scritto: > Hey Mate, on the jira issue it says that the fix will come in with

Re: Does ZK 3.4.14 support Netty 4.1.42.Final?

2019-11-25 Thread Enrico Olivelli
Il lun 25 nov 2019, 19:39 Daniel Chan ha scritto: > Thanks Patrick and Tamas for the information. > > Is there any ETA on https://issues.apache.org/jira/browse/ZOOKEEPER-3568? > > We are currently running on 3.4.9 server and 3.4.6 client. If moving to > 3.5.6, should we upgrade the server or

Re: Any interest in a gRPC version of ZooKeeper

2019-11-28 Thread Enrico Olivelli
Il gio 28 nov 2019, 14:02 Andor Molnar ha scritto: > Unfortunately non-committers are having some difficulties joining that > channel. > > For example: > "@Mate Szalay-Beko is a Multi-Channel Guest. Only your Workspace Admin can > invite them to a public channel.” > > Does anyone have an idea

Re: Issues with leader shutdown in a 3-node zookeeper cluster

2019-11-29 Thread Enrico Olivelli
Sushil I am sorry, I did not send any other email :-) I saw Damien is already giving sensible advice. Enrico Il giorno mer 27 nov 2019 alle ore 17:10 Sushil Kumar ha scritto: > Thanks Damien for the reply. > > That was something I had already tried. > I wrote single ip in my notes to show

Re: Removing Netty support from branch-3.4

2019-10-04 Thread Enrico Olivelli
The release branch 3.4 is frozen and we should cut new releases only for important security reasons or other important issues for users that cannot upgrade to 3.5. Given that 3.5 is now the suggested version and the upgrade path is simple I think there is no need to put effort into this activity.

Re: One node crashing in 3.4.11 triggered a full ensemble restart

2019-10-03 Thread Enrico Olivelli
I think it is possible to perform a rolling upgrade from 3.4, all of my customers migrated one year ago and without any issue (reported to my team). Norbert, where did you find that information? btw I would like to setup tests about backward compatibility, server-to-server and client-to-server

Re: Do Zookeeper 3.5.5 supports MTLS ?

2019-12-20 Thread Enrico Olivelli
Srikant What do you mean with MTLS? Mutual auth and TLS? Enrico Il ven 20 dic 2019, 09:49 shrikant kalani ha scritto: > Hi > > Can someone help me in configuring Zookeeper with MTLS ? > > Thanks > Srikant Kalani > > Sent from my iPhone >

Re: Do Zookeeper 3.5.5 supports MTLS ?

2019-12-21 Thread Enrico Olivelli
Yes it does Check http://zookeeper.apache.org/doc/r3.5.6/zookeeperAdmin.html#sc_authOptions Hope that helps Enrico Il sab 21 dic 2019, 09:44 shrikant kalani ha scritto: > Yes Mutual Auth and TLS. > > Sent from my iPhone > > > On 21 Dec 2019, at 3:51 PM, Enrico Olivelli wrot

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: 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

[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: 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: 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: Authorisation in Zookeeper

2020-01-10 Thread Enrico Olivelli
Srikant Il sab 11 gen 2020, 03:48 shrikant kalani ha scritto: > Hi Zookeeper Users > > I have implemented TLS authentication in my cluster. Right now the > authentication is done based on host name (X509). > > Now I want to implement authorisation based on user I’d like only my > system

Re: Authorisation in Zookeeper

2020-01-11 Thread Enrico Olivelli
ACLs are your way to go Enrico > > Thanks > Srikant Kalani > Sent from my iPhone > > > On 11 Jan 2020, at 2:20 PM, Enrico Olivelli wrote: > > > > Srikant > > > > Il sab 11 gen 2020, 03:48 shrikant kalani ha > > scritto: > > > >&g

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: 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: Zookeeper and curator SASL authentication

2020-01-09 Thread Enrico Olivelli
There is a method to force JAAS to reload the system property. Something like Configuration.getConfiguration().refresh() You have to call that method after changing the system property Hope that helps Enrico Il gio 9 gen 2020, 20:05 Damien Diederen ha scritto: > > Hi Arpit, Máté, > > Arpit

Re: Authorisation in Zookeeper

2020-01-14 Thread Enrico Olivelli
ni > > Sent from Mail for Windows 10 > > From: Enrico Olivelli > Sent: 11 January 2020 21:05 > To: UserZooKeeper > Subject: Re: Authorisation in Zookeeper > > Il giorno sab 11 gen 2020 alle ore 09:31 shrikant kalani < > shrikantkal...@gmail.com> ha scritto: >

Re: java.lang.NullPointerException on some commands (stats, conf)

2020-01-01 Thread Enrico Olivelli
pache.org > > > Subject: Re: java.lang.NullPointerException on some commands (stats, > > conf) > > > > > > yep, in general I think it makes sense to try / get used to build > > ZooKeeper > > > (or any other OpenSource product you use), one can never know whe

Re: Do Zookeeper 3.5.5 supports MTLS ?

2019-12-27 Thread Enrico Olivelli
it Enrico > > > > Sent from my iPhone > > > On 21 Dec 2019, at 8:22 PM, Enrico Olivelli wrote: > > > > Yes it does > > > > Check > > > http://zookeeper.apache.org/doc/r3.5.6/zookeeperAdmin.html#sc_authOptions > > > >

Re: Zookeeper server and client authentication

2019-12-30 Thread Enrico Olivelli
thread on d...@zookeeper.apache.org mailing list. If you try it and report that it is working for you, this will be a good contribution to the community Cheers Enrico > > Thanks > Srikant Kalani > > Sent from my iPhone > > > On 30 Dec 2019, at 9:23 PM, Enrico Olivelli wrote: > >

Re: Zookeeper server and client authentication

2019-12-30 Thread Enrico Olivelli
Arpit, Up to 3.5.x you can only leverage auth only in conjunction with ACLs. I hope we are able to release 3.6.0 within a couple of weeks. If you have time you can build from branch-3.6 and run the server enabling that feature tha you are pointing to. It is a server side change only so you can

  1   2   3   >