[jira] [Created] (ZOOKEEPER-4189) Zooinspector Error while connecting to zookeeper
Rajesh Bathala created ZOOKEEPER-4189: - Summary: Zooinspector Error while connecting to zookeeper Key: ZOOKEEPER-4189 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4189 Project: ZooKeeper Issue Type: Bug Components: contrib Affects Versions: 3.4.12 Reporter: Rajesh Bathala Hi Team, i am getting below error while connecting to zookeeper from zooinspector. Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.zookeeper.inspector.logger.LoggerFactory.(LoggerFactory.java:26) at org.apache.zookeeper.inspector.gui.ZooInspectorPanel$8.done(ZooInspectorPanel.java:269) at javax.swing.SwingWorker$5.run(SwingWorker.java:737) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) at javax.swing.Timer.fireActionPerformed(Timer.java:313) at javax.swing.Timer$DoPostEvent.run(Timer.java:245) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 22 more -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 0
On Fri, Jan 22, 2021 at 6:55 PM Justin Ling Mao wrote: > I create the ticket: ZOOKEEPER-4188: add a doc about whoami CLI for me to > do. It's not a blocker. Let's go ahead:) > > Thanks Justin. Note that a release can't be vetoed (also I did give a +1) and as the RM Damien should make the final decision on the seriousness of any issues found. Perhaps a good opportunity to review the apache release voting guidelines: https://www.apache.org/foundation/voting.html#ReleaseVotes http://www.apache.org/legal/release-policy.html#release-approval Regards, Patrick > - Original Message - > From: Patrick Hunt > To: DevZooKeeper > Subject: Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 0 > Date: 2021-01-23 05:09 > > +1 - xsum/sig validated. Compiles/runs fine on macos+jdk11. Verified some > larger ensemble sizes manually and it worked ok. > I looked at a few of the new features listed - they look great! I did > notice some changes without documentation though (whoami eg), would be good > for committers to ensure that docs get updated along the way... > Thanks Damien for acting as RM. Regards, > Patrick > On Tue, Jan 19, 2021 at 4:40 AM Damien Diederen > wrote: > > > > Dear all, > > > > This is a first release candidate for ZooKeeper 3.7.0. > > > > It introduces a number of new features, notably: > > > > * An API to start a ZooKeeper server from Java (ZOOKEEPER-3874); > > > > * Quota enforcement (ZOOKEEPER-3301); > > > > * Host name canonicalization in quorum SASL authentication > > (ZOOKEEPER-4030); > > > > * Support for BCFKS key/trust store format (ZOOKEEPER-3950); > > > > * A choice of mandatory authentication scheme(s) (ZOOKEEPER-3561); > > > > * A "whoami" API and CLI command (ZOOKEEPER-3969); > > > > * The possibility of disabling digest authentication (ZOOKEEPER-3979); > > > > * Multiple SASL "superUsers" (ZOOKEEPER-3959); > > > > * Fast-tracking of throttled requests (ZOOKEEPER-3683); > > > > * Additional security metrics (ZOOKEEPER-3978); > > > > * SASL support in the C and Perl clients (ZOOKEEPER-1112, > > ZOOKEEPER-3714); > > > > * A new zkSnapshotComparer.sh tool (ZOOKEEPER-3427); > > > > * Notes on how to benchmark ZooKeeper with the YCSB tool > > (ZOOKEEPER-3264). > > > > The release notes are available here: > > > > > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/releasenotes.html > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12346617 > > > > *** Please download, test and vote by January 24th 2020, 23:59 UTC+0. *** > > > > Source files: > > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/ > > > > Maven staging repo: > > > > > > > https://repository.apache.org/content/repositories/orgapachezookeeper-1065/ > > > > The release candidate tag in git to be voted upon: release-3.7.0-0 > > > > https://github.com/apache/zookeeper/tree/release-3.7.0-0 > > > > ZooKeeper's KEYS file containing PGP keys we use to sign the release: > > > > https://www.apache.org/dist/zookeeper/KEYS > > > > The staging version of the website is: > > > > > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/ > > > > Should we release this candidate? > > > > Damien Diederen > > > > >
Re: Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 0
I create the ticket: ZOOKEEPER-4188: add a doc about whoami CLI for me to do. It's not a blocker. Let's go ahead:) - Original Message - From: Patrick Hunt To: DevZooKeeper Subject: Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 0 Date: 2021-01-23 05:09 +1 - xsum/sig validated. Compiles/runs fine on macos+jdk11. Verified some larger ensemble sizes manually and it worked ok. I looked at a few of the new features listed - they look great! I did notice some changes without documentation though (whoami eg), would be good for committers to ensure that docs get updated along the way... Thanks Damien for acting as RM. Regards, Patrick On Tue, Jan 19, 2021 at 4:40 AM Damien Diederen wrote: > > Dear all, > > This is a first release candidate for ZooKeeper 3.7.0. > > It introduces a number of new features, notably: > > * An API to start a ZooKeeper server from Java (ZOOKEEPER-3874); > > * Quota enforcement (ZOOKEEPER-3301); > > * Host name canonicalization in quorum SASL authentication > (ZOOKEEPER-4030); > > * Support for BCFKS key/trust store format (ZOOKEEPER-3950); > > * A choice of mandatory authentication scheme(s) (ZOOKEEPER-3561); > > * A "whoami" API and CLI command (ZOOKEEPER-3969); > > * The possibility of disabling digest authentication (ZOOKEEPER-3979); > > * Multiple SASL "superUsers" (ZOOKEEPER-3959); > > * Fast-tracking of throttled requests (ZOOKEEPER-3683); > > * Additional security metrics (ZOOKEEPER-3978); > > * SASL support in the C and Perl clients (ZOOKEEPER-1112, > ZOOKEEPER-3714); > > * A new zkSnapshotComparer.sh tool (ZOOKEEPER-3427); > > * Notes on how to benchmark ZooKeeper with the YCSB tool > (ZOOKEEPER-3264). > > The release notes are available here: > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/releasenotes.html > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12346617 > > *** Please download, test and vote by January 24th 2020, 23:59 UTC+0. *** > > Source files: > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/ > > Maven staging repo: > > > https://repository.apache.org/content/repositories/orgapachezookeeper-1065/ > > The release candidate tag in git to be voted upon: release-3.7.0-0 > > https://github.com/apache/zookeeper/tree/release-3.7.0-0 > > ZooKeeper's KEYS file containing PGP keys we use to sign the release: > > https://www.apache.org/dist/zookeeper/KEYS > > The staging version of the website is: > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/ > > Should we release this candidate? > > Damien Diederen > >
[jira] [Created] (ZOOKEEPER-4188) add a doc about whoami CLI
Ling Mao created ZOOKEEPER-4188: --- Summary: add a doc about whoami CLI Key: ZOOKEEPER-4188 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4188 Project: ZooKeeper Issue Type: Improvement Reporter: Ling Mao Assignee: Ling Mao -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: Re: Rate Quota
Here is a initial roadmap about the quote feature(https://cwiki.apache.org/confluence/display/ZOOKEEPER/Quotas). We will nudge this work continuously. Here is the FB's video.(https://www.facebook.com/zkmeetup/videos/2984998221531756/) - Original Message - From: Huizhi Lu To: dev@zookeeper.apache.org Subject: Re: Rate Quota Date: 2021-01-23 10:26 Thanks, Nobert, for the kind reply :) Li, here is the picture (I've uploaded it to github in case you can't see attachment): https://user-images.githubusercontent.com/5187721/105566039-cdca1480-5cde-11eb-8d8e-e28cb9c0c273.png We can keep following up on this feature. I think it's quite useful. On Fri, Jan 22, 2021 at 6:08 PM Li Wang wrote: > > Hi Huizhi, > > I am also looking for this rate quota per client feature. Would you mind > sending again the picture from the Facebook presentation, as I didn't see > that attachment. > > Thanks, > > Li > > On Wed, Jan 20, 2021 at 2:41 AM Norbert Kalmar > wrote: > > > Sorry, I missed the point there. > > Unfortunately I don't know the timeline for this feature. Our friends at > > Facebook weren't active lately, but hope you'll get an answer (I see you > > also asked on the jira). > > > > - Norbert > > > > On Tue, Jan 19, 2021 at 8:33 PM Huizhi Lu wrote: > > > > > Hi Norbert, > > > > > > Thanks for the reply. I understand request throttling was added in the > > > ticket ZOOKEEPER-3243. My understanding is that it's a global request > > > throttling: total requests for all clients. But it is not a per client > > > level throttling. > > > > > > Just realized that the facebook presentation listed the zk ticket: > > > https://issues.apache.org/jira/browse/ZOOKEEPER-3467. I think this is > > > what I'm looking for: reads/s and writes/s for per client. The feature > > > is not yet available. I wonder if there is a timeline for it. Thanks! > > > > > > > > > -Huizhi > > > > > > On Tue, Jan 19, 2021 at 2:20 AM Norbert Kalmar > > > wrote: > > > > > > > > https://issues.apache.org/jira/browse/ZOOKEEPER-3243 > > > > > > > > On Tue, Jan 19, 2021 at 11:19 AM Norbert Kalmar > > > > wrote: > > > > > > > > > Hi Huizhi, > > > > > > > > > > You might be looking for ZOOKEEPER-3243, it is available from 3.6.0. > > > > > > > > > > Regards, > > > > > Norbert > > > > > > > > > > On Tue, Jan 19, 2021 at 9:49 AM Huizhi Lu wrote: > > > > > > > > > >> Hey ZK Experts, > > > > >> > > > > >> I am actively looking into the request throttling/quota feature. I > > > > >> recalled that at the zookeeper meetup, Facebook presented a rate > > quota > > > > >> per client (see attached pic) feature. But I can't find it in any zk > > > > >> doc or code. Is the feature available? If not, is there any reason? > > > > >> > > > > >> > > > > >> Thanks! > > > > >> -Huizhi > > > > >> > > > > > > > > > >
Re: Rate Quota
Thanks, Nobert, for the kind reply :) Li, here is the picture (I've uploaded it to github in case you can't see attachment): https://user-images.githubusercontent.com/5187721/105566039-cdca1480-5cde-11eb-8d8e-e28cb9c0c273.png We can keep following up on this feature. I think it's quite useful. On Fri, Jan 22, 2021 at 6:08 PM Li Wang wrote: > > Hi Huizhi, > > I am also looking for this rate quota per client feature. Would you mind > sending again the picture from the Facebook presentation, as I didn't see > that attachment. > > Thanks, > > Li > > On Wed, Jan 20, 2021 at 2:41 AM Norbert Kalmar > wrote: > > > Sorry, I missed the point there. > > Unfortunately I don't know the timeline for this feature. Our friends at > > Facebook weren't active lately, but hope you'll get an answer (I see you > > also asked on the jira). > > > > - Norbert > > > > On Tue, Jan 19, 2021 at 8:33 PM Huizhi Lu wrote: > > > > > Hi Norbert, > > > > > > Thanks for the reply. I understand request throttling was added in the > > > ticket ZOOKEEPER-3243. My understanding is that it's a global request > > > throttling: total requests for all clients. But it is not a per client > > > level throttling. > > > > > > Just realized that the facebook presentation listed the zk ticket: > > > https://issues.apache.org/jira/browse/ZOOKEEPER-3467. I think this is > > > what I'm looking for: reads/s and writes/s for per client. The feature > > > is not yet available. I wonder if there is a timeline for it. Thanks! > > > > > > > > > -Huizhi > > > > > > On Tue, Jan 19, 2021 at 2:20 AM Norbert Kalmar > > > wrote: > > > > > > > > https://issues.apache.org/jira/browse/ZOOKEEPER-3243 > > > > > > > > On Tue, Jan 19, 2021 at 11:19 AM Norbert Kalmar > > > > wrote: > > > > > > > > > Hi Huizhi, > > > > > > > > > > You might be looking for ZOOKEEPER-3243, it is available from 3.6.0. > > > > > > > > > > Regards, > > > > > Norbert > > > > > > > > > > On Tue, Jan 19, 2021 at 9:49 AM Huizhi Lu wrote: > > > > > > > > > >> Hey ZK Experts, > > > > >> > > > > >> I am actively looking into the request throttling/quota feature. I > > > > >> recalled that at the zookeeper meetup, Facebook presented a rate > > quota > > > > >> per client (see attached pic) feature. But I can't find it in any zk > > > > >> doc or code. Is the feature available? If not, is there any reason? > > > > >> > > > > >> > > > > >> Thanks! > > > > >> -Huizhi > > > > >> > > > > > > > > > >
Re: Rate Quota
Hi Huizhi, I am also looking for this rate quota per client feature. Would you mind sending again the picture from the Facebook presentation, as I didn't see that attachment. Thanks, Li On Wed, Jan 20, 2021 at 2:41 AM Norbert Kalmar wrote: > Sorry, I missed the point there. > Unfortunately I don't know the timeline for this feature. Our friends at > Facebook weren't active lately, but hope you'll get an answer (I see you > also asked on the jira). > > - Norbert > > On Tue, Jan 19, 2021 at 8:33 PM Huizhi Lu wrote: > > > Hi Norbert, > > > > Thanks for the reply. I understand request throttling was added in the > > ticket ZOOKEEPER-3243. My understanding is that it's a global request > > throttling: total requests for all clients. But it is not a per client > > level throttling. > > > > Just realized that the facebook presentation listed the zk ticket: > > https://issues.apache.org/jira/browse/ZOOKEEPER-3467. I think this is > > what I'm looking for: reads/s and writes/s for per client. The feature > > is not yet available. I wonder if there is a timeline for it. Thanks! > > > > > > -Huizhi > > > > On Tue, Jan 19, 2021 at 2:20 AM Norbert Kalmar > > wrote: > > > > > > https://issues.apache.org/jira/browse/ZOOKEEPER-3243 > > > > > > On Tue, Jan 19, 2021 at 11:19 AM Norbert Kalmar > > > wrote: > > > > > > > Hi Huizhi, > > > > > > > > You might be looking for ZOOKEEPER-3243, it is available from 3.6.0. > > > > > > > > Regards, > > > > Norbert > > > > > > > > On Tue, Jan 19, 2021 at 9:49 AM Huizhi Lu wrote: > > > > > > > >> Hey ZK Experts, > > > >> > > > >> I am actively looking into the request throttling/quota feature. I > > > >> recalled that at the zookeeper meetup, Facebook presented a rate > quota > > > >> per client (see attached pic) feature. But I can't find it in any zk > > > >> doc or code. Is the feature available? If not, is there any reason? > > > >> > > > >> > > > >> Thanks! > > > >> -Huizhi > > > >> > > > > > > >
[jira] [Created] (ZOOKEEPER-4187) Support compressed data natively
David Smiley created ZOOKEEPER-4187: --- Summary: Support compressed data natively Key: ZOOKEEPER-4187 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4187 Project: ZooKeeper Issue Type: Improvement Reporter: David Smiley I think it's common to put files in ZooKeeper that compress well, sometimes extremely well. The client (perhaps facilitated by Curator) can compress this, but it'd be nicer I think if ZK supported this natively. Wether a file is compressed or not could be the choice of the client, and the ZK client could just do it for the user (ease of use), provided you have the appropriate dependency. The server need not do any compression; leave it to the client. A ZK client could tell the server what compression algorithms it supports, so that if a client (perhaps an old one) doesn't have the compression libs needed for a given file it wants, the server could decompress on its behalf. That should handle backwards-compatibility. -- This message was sent by Atlassian Jira (v8.3.4#803005)
Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 0
+1 - xsum/sig validated. Compiles/runs fine on macos+jdk11. Verified some larger ensemble sizes manually and it worked ok. I looked at a few of the new features listed - they look great! I did notice some changes without documentation though (whoami eg), would be good for committers to ensure that docs get updated along the way... Thanks Damien for acting as RM. Regards, Patrick On Tue, Jan 19, 2021 at 4:40 AM Damien Diederen wrote: > > Dear all, > > This is a first release candidate for ZooKeeper 3.7.0. > > It introduces a number of new features, notably: > > * An API to start a ZooKeeper server from Java (ZOOKEEPER-3874); > > * Quota enforcement (ZOOKEEPER-3301); > > * Host name canonicalization in quorum SASL authentication > (ZOOKEEPER-4030); > > * Support for BCFKS key/trust store format (ZOOKEEPER-3950); > > * A choice of mandatory authentication scheme(s) (ZOOKEEPER-3561); > > * A "whoami" API and CLI command (ZOOKEEPER-3969); > > * The possibility of disabling digest authentication (ZOOKEEPER-3979); > > * Multiple SASL "superUsers" (ZOOKEEPER-3959); > > * Fast-tracking of throttled requests (ZOOKEEPER-3683); > > * Additional security metrics (ZOOKEEPER-3978); > > * SASL support in the C and Perl clients (ZOOKEEPER-1112, > ZOOKEEPER-3714); > > * A new zkSnapshotComparer.sh tool (ZOOKEEPER-3427); > > * Notes on how to benchmark ZooKeeper with the YCSB tool > (ZOOKEEPER-3264). > > The release notes are available here: > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/releasenotes.html > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801=12346617 > > *** Please download, test and vote by January 24th 2020, 23:59 UTC+0. *** > > Source files: > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/ > > Maven staging repo: > > > https://repository.apache.org/content/repositories/orgapachezookeeper-1065/ > > The release candidate tag in git to be voted upon: release-3.7.0-0 > > https://github.com/apache/zookeeper/tree/release-3.7.0-0 > > ZooKeeper's KEYS file containing PGP keys we use to sign the release: > > https://www.apache.org/dist/zookeeper/KEYS > > The staging version of the website is: > > > https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/website/ > > Should we release this candidate? > > Damien Diederen > >