You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by Enrico Olivelli <eo...@gmail.com> on 2020/01/14 23:18:25 UTC

[VOTE] Apache ZooKeeper release 3.6.0 candidate 0

This is a release candidate for 3.6.0.

It is a major release and it introduces a lot of new features, most notably:
- Built-in data consistency check inside ZooKeeper
- Allow Followers to host Observers
- A new feature proposal to ZooKeeper: authentication enforcement
- Pluggable metrics system for ZooKeeper (and Prometheus.io integration)
- TLS Port unification
- Audit logging in ZooKeeper servers
- Improve resilience to network (advertise multiple addresses for members
of a Zookeeper cluster)
- Persistent Recursive Watches
- add an API and the corresponding CLI to get total count of recursive sub
nodes under a specific path

The full release notes is available at:

https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617

*** Please download, test and vote by January 19th 2020, 23:59 UTC+0. ***

Source files:
https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/

Maven staging repo:
https://repository.apache.org/content/repositories/orgapachezookeeper-1045/

The release candidate tag in git to be voted upon: release-3.6.0-0
https://github.com/apache/zookeeper/tree/release-3.6.0-0

ZooKeeper's KEYS file containing PGP keys we use to sign the release:
https://www.apache.org/dist/zookeeper/KEYS

Please note that this new major release introduces these change in the
staging area:
- the source artifacts package is in zip format
- we are releasing a new binary package with the C client (with OpenSSL
support)
- website preview

We are also adding a new JAR: zookeeper-metrics-providers

The staging version of the website is:
https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/

Should we release this candidate?

Enrico Olivelli

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Enrico Olivelli <eo...@gmail.com>.
Jordan,
You can use this repository (the one I linked in the first email of this
thread)
https://repository.apache.org/content/repositories/orgapachezookeeper-1045/

just add it in a <repository> tag in your pom.xml

Enrico

Il giorno gio 16 gen 2020 alle ore 16:51 Jordan Zimmerman <
jordan@jordanzimmerman.com> ha scritto:

> Thanks for managing this Enrico! Any chance of deploying a
> 3.6.0-CANDIDATE-0-SNAPSHOT (or some other similar name) so I can run
> Curator tests? It’s a real pain to manually insert the JAR vía Maven.
>
> ====================
> Jordan Zimmerman
>
> > On Jan 15, 2020, at 1:05 PM, Enrico Olivelli <eo...@gmail.com>
> wrote:
> >
> > Alexander,
> > I have pasted a wrong link in the VOTE email, I am sorry
> >
> > The good link is
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
> >
> > You can also see the staged released notes in the website
> >
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
> >
> > Thank you so much for reporting this issue
> >
> > Happy testing
> >
> > Enrico
> >
> >> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
> shralex@gmail.com>
> >> ha scritto:
> >>
> >> Hi Enrico,
> >>
> >> Thank you for driving this release!
> >>
> >> I have a question - i believe that Zookeeper-2024 (an order of magnitude
> >> throughput improvement for mixed workloads) is part of the 3.6.0
> release,
> >> but it isn't mentioned in the release notes or the summary.
> >> Could you please clarify ?
> >>
> >> Thanks,
> >> Alex
> >>
> >>
> >>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
> wrote:
> >>>
> >>> I can't parse Rudy's message, is it an issue with my mail application?
> >>>
> >>> -Flavio
> >>>
> >>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> >>>>
> >>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> >>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
> >>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> >>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> >> Failures:
> >>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> >>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> >>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures:
> >> 0,
> >>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> >>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
> Failures:
> >>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> >>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> >>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> >>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run:
> 9,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> >>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> >>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> >>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> >>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
> >> run:
> >>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> >>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> >>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run:
> >> 1,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> >>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
> >>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> >>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
> >>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
> >>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> >>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
> >>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
> at
> >>>
> >>
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> >>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
> 13,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> >>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> >>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> >>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> >>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
> 14,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> >>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> >>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> >>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> >>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> >>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> >>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> >>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> >>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> >>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> 35,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> >>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
> 0,
> >>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> >>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
> >>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> >>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> >> Failures:
> >>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> >>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
> >> run:
> >>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> >>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
> Tests
> >>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s -
> in
> >>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> >>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> >>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> >>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> >> ,suspend=y,server=n
> >>> -Dvisualvm.id=962684532457553
> >>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> >>> -Dmaven.home=/Applications/IntelliJ
> >>> IDEA.app/Contents/plugins/maven/lib/maven3
> >>> -Dclassworlds.conf=/Applications/IntelliJ
> >>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> >>>
> >>
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> >>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> >>>
> >>
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> >>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> >>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> >>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> >>> &amp;&amp;
> >>>
> >>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>
> >>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>> -jar
> >>>
> >>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
> >>>     0:05.16
> >>>
> >>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>
> >>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>> -jar
> >>>
> >>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
> processes
> >>> for unit test not close correctly, lead successor test stuck
> >>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
> wrote:
> >>>>> This is a release candidate for 3.6.0.
> >>>>>
> >>>>> It is a major release and it introduces a lot of new features, most
> >>> notably:
> >>>>> - Built-in data consistency check inside ZooKeeper
> >>>>> - Allow Followers to host Observers
> >>>>> - A new feature proposal to ZooKeeper: authentication enforcement
> >>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> >> integration)
> >>>>> - TLS Port unification
> >>>>> - Audit logging in ZooKeeper servers
> >>>>> - Improve resilience to network (advertise multiple addresses for
> >>> members
> >>>>> of a Zookeeper cluster)
> >>>>> - Persistent Recursive Watches
> >>>>> - add an API and the corresponding CLI to get total count of
> recursive
> >>> sub
> >>>>> nodes under a specific path
> >>>>>
> >>>>> The full release notes is available at:
> >>>>>
> >>>>>
> >>>
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>>>>
> >>>>> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0.
> >>> ***
> >>>>>
> >>>>> Source files:
> >>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>>>>
> >>>>> Maven staging repo:
> >>>>>
> >>>
> >>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>>>>
> >>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
> >>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>>>>
> >>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
> >>>>> https://www.apache.org/dist/zookeeper/KEYS
> >>>>>
> >>>>> Please note that this new major release introduces these change in
> the
> >>>>> staging area:
> >>>>> - the source artifacts package is in zip format
> >>>>> - we are releasing a new binary package with the C client (with
> >> OpenSSL
> >>>>> support)
> >>>>> - website preview
> >>>>>
> >>>>> We are also adding a new JAR: zookeeper-metrics-providers
> >>>>>
> >>>>> The staging version of the website is:
> >>>>>
> >>>
> >>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>>>>
> >>>>> Should we release this candidate?
> >>>>>
> >>>>> Enrico Olivelli
> >>>
> >>>
> >>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Jordan Zimmerman <jo...@jordanzimmerman.com>.
Thanks for managing this Enrico! Any chance of deploying a 3.6.0-CANDIDATE-0-SNAPSHOT (or some other similar name) so I can run Curator tests? It’s a real pain to manually insert the JAR vía Maven. 

====================
Jordan Zimmerman

> On Jan 15, 2020, at 1:05 PM, Enrico Olivelli <eo...@gmail.com> wrote:
> 
> Alexander,
> I have pasted a wrong link in the VOTE email, I am sorry
> 
> The good link is
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
> 
> You can also see the staged released notes in the website
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
> 
> Thank you so much for reporting this issue
> 
> Happy testing
> 
> Enrico
> 
>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <sh...@gmail.com>
>> ha scritto:
>> 
>> Hi Enrico,
>> 
>> Thank you for driving this release!
>> 
>> I have a question - i believe that Zookeeper-2024 (an order of magnitude
>> throughput improvement for mixed workloads) is part of the 3.6.0 release,
>> but it isn't mentioned in the release notes or the summary.
>> Could you please clarify ?
>> 
>> Thanks,
>> Alex
>> 
>> 
>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org> wrote:
>>> 
>>> I can't parse Rudy's message, is it an issue with my mail application?
>>> 
>>> -Flavio
>>> 
>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
>>>> 
>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
>> Failures:
>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures:
>> 0,
>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures:
>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
>> run:
>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run:
>> 1,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>      at
>>> 
>> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0,
>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
>> Failures:
>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
>> run:
>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests
>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in
>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
>> ,suspend=y,server=n
>>> -Dvisualvm.id=962684532457553
>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
>>> -Dmaven.home=/Applications/IntelliJ
>>> IDEA.app/Contents/plugins/maven/lib/maven3
>>> -Dclassworlds.conf=/Applications/IntelliJ
>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
>>> 
>> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
>>> 
>> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
>>> &amp;&amp;
>>> 
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>> 
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>> -jar
>>> 
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
>>>     0:05.16
>>> 
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>> 
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>> -jar
>>> 
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes
>>> for unit test not close correctly, lead successor test stuck
>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
>>>>> This is a release candidate for 3.6.0.
>>>>> 
>>>>> It is a major release and it introduces a lot of new features, most
>>> notably:
>>>>> - Built-in data consistency check inside ZooKeeper
>>>>> - Allow Followers to host Observers
>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
>> integration)
>>>>> - TLS Port unification
>>>>> - Audit logging in ZooKeeper servers
>>>>> - Improve resilience to network (advertise multiple addresses for
>>> members
>>>>> of a Zookeeper cluster)
>>>>> - Persistent Recursive Watches
>>>>> - add an API and the corresponding CLI to get total count of recursive
>>> sub
>>>>> nodes under a specific path
>>>>> 
>>>>> The full release notes is available at:
>>>>> 
>>>>> 
>>> 
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>>>>> 
>>>>> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0.
>>> ***
>>>>> 
>>>>> Source files:
>>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>>>>> 
>>>>> Maven staging repo:
>>>>> 
>>> 
>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>>>>> 
>>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>>>>> 
>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
>>>>> https://www.apache.org/dist/zookeeper/KEYS
>>>>> 
>>>>> Please note that this new major release introduces these change in the
>>>>> staging area:
>>>>> - the source artifacts package is in zip format
>>>>> - we are releasing a new binary package with the C client (with
>> OpenSSL
>>>>> support)
>>>>> - website preview
>>>>> 
>>>>> We are also adding a new JAR: zookeeper-metrics-providers
>>>>> 
>>>>> The staging version of the website is:
>>>>> 
>>> 
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>>>>> 
>>>>> Should we release this candidate?
>>>>> 
>>>>> Enrico Olivelli
>>> 
>>> 
>> 

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Patrick Hunt <ph...@apache.org>.
On Thu, Jan 16, 2020 at 5:42 AM Andor Molnar <an...@apache.org> wrote:

> Thanks a lot Enrico, great work so far.
> If you’re feeling having hard a time as a RM, you’re definitely on the
> right track. :)
>
>
10x - thanks for driving this, herding the cats, and owning the outcome
Enrico. :-)


> Referring 3.6.0 as a “major” release made me thinking a bit. This release
> is definitely a big leap in ZK’s history, but strictly based on the
> versioning it is “only” a minor release: version number consists of
> major.minor.maintenance parts.
>
> https://cwiki.apache.org/confluence/display/ZOOKEEPER/ReleaseManagement


Yea, our minors tend to be "major". It's confusing to me personally when I
talk about it...

Patrick


>
>
> Andor
>
>
>
>
> > On 2020. Jan 16., at 14:31, Enrico Olivelli <eo...@gmail.com> wrote:
> >
> > Thank you Patrick and Andor
> >
> >
> >
> > Il giorno gio 16 gen 2020 alle ore 14:18 Andor Molnar <an...@apache.org>
> ha
> > scritto:
> >
> >> Hi,
> >>
> >> 1) I think TLD “parent-3.6” is a consequence of the following rename:
> >> https://github.com/apache/zookeeper/pull/892
> >>
> >> Which was done due to enabling us to rename ‘zookeeper-server’ to
> >> ‘zookeeper’ and keep the legacy Maven structure. I suspect 2 Maven
> projects
> >> cannot have the same name, so we probably need something other than
> >> “zookeeper”. In previous releases the TLD was ‘apache-zookeeper-X.X.X’,
> so
> >> maybe we could rename the top level project to “apache-zookeeper”.
> >>
> >
> > I will try to fix this personally.
> > I will create a JIRA and deliver the fix for the next RC.
> > If I can't fix it with the zip file I will resume the source tarball
> >
> >
> >>
> >> 2) “lib” tarball
> >> I think we’ve already talked about releasing C binaries and I had always
> >> been against it. These libraries are not portable and unless we release
> >> separate artifacts for all major distributions (including Windows?), I
> >> don’t see the point of introducing it. Plus the things that Patrick
> >> mentioned, I strongly believe that we should remove it from the release.
> >>
> >
> > From this comment and from Patrick's email it is better to remove this
> part
> > for 3.6, we can continue the discussion for the next Major release.
> > My plan is to simply NOT  include the apache-zookeeper-3.6.0-lib.tar.gz
> in
> > the next VOTE rc
> >
> > For me having the binaries is a +0, I am not sure how users will benefit
> > from them,
> > maybe it would be better to have some deployment of ZooKeeper C lib in
> > public repositories, but I really don't know how it works.
> >
> >
> >
> >>
> >> 3) “test23”
> >> I haven’t checked that yet, but that’s related to the multi-address
> patch
> >> which was added recently. Mate and I can take a look.
> >>
> >
> > Regarding the 'test23' failure I am able to reproduce exactly Patricks's
> > problem.
> > Thank you Mate and Andor for your time, I am not able to dig into the
> cause
> > this week.
> >
> >
> > Please consider this VOTE thread closed.
> >
> > I will leave the staged artifact available on my people.apache.org web
> > space and on repositories.apache.org, in case people want to test the
> > client and compatibility with applications
> > built for 3.5.x
> >
> > This is a major release and I think it is expected to have more
> iterations
> > over the release
> >
> > Best regards
> > Enrico
> >
> >
> >
> >
> >
> >>
> >> Regards,
> >> Andor
> >>
> >>
> >>
> >>
> >>> On 2020. Jan 16., at 4:45, Patrick Hunt <ph...@apache.org> wrote:
> >>>
> >>> wrt the addition of lib - we've had to move to explicitly telling users
> >>> _not_ to use the client binaries except as learning aids
> >>>
> >>> "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
> >>> example/sample of ZooKeeper C client API usage. It is not a full
> >>> fledged client and not meant for production usage - see the Java
> >>> client shell for a fully featured shell."
> >>>
> >>> due to repeated security issues being raised and attempting to reduce
> the
> >>> burden security reports impose - the libs are fine, but the C clients
> >>> themselves were not created with security in mind and users should use
> >> the
> >>> Java CLIs instead. We could fix that, I assume, but afaik so far that
> >>> hasn't been done (harden the c cli/load binaries).
> >>>
> >>> We shouldn't include the bin/* IMO, although having an artifact for the
> >>> libs themselves is fine.
> >>>
> >>>
> >>> I'm sure we all know this, but I also want to clarify that the _source_
> >> is
> >>> what we are releasing - the bin/lib/etc... are all "conveniences"
> >>> https://www.apache.org/dev/release-publishing.html#valid
> >>> language such as "we are releasing a new binary package with the C
> client
> >>> (with OpenSSL support)" concerns me a bit as the binaries are not the
> >>> release. Sorry for the nit picking but it is important for the
> community
> >> to
> >>> follow and understand established Apache guidance on this.
> >>>
> >>> Patrick
> >>>
> >>>
> >>> On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
> >>>
> >>>> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results
> >> in
> >>>> a tld of "parent-3.6.0" - can we fix this? The other artifacts
> >> de-archive
> >>>> correctly, expect this one. It seems a shame. Given this issue and the
> >>>> tar.gz->zip - perhaps we should reconsider and just generate the
> source
> >>>> ourselves? Or is there a way to ensure the tld name is correct?
> >>>> (setting/config?)
> >>>>
> >>>> Patrick
> >>>>
> >>>> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
> >>>> wrote:
> >>>>
> >>>>> Alexander,
> >>>>> I have pasted a wrong link in the VOTE email, I am sorry
> >>>>>
> >>>>> The good link is
> >>>>>
> >>>>>
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
> >>>>>
> >>>>> You can also see the staged released notes in the website
> >>>>>
> >>>>>
> >>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
> >>>>>
> >>>>> Thank you so much for reporting this issue
> >>>>>
> >>>>> Happy testing
> >>>>>
> >>>>> Enrico
> >>>>>
> >>>>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
> >>>>> shralex@gmail.com>
> >>>>> ha scritto:
> >>>>>
> >>>>>> Hi Enrico,
> >>>>>>
> >>>>>> Thank you for driving this release!
> >>>>>>
> >>>>>> I have a question - i believe that Zookeeper-2024 (an order of
> >> magnitude
> >>>>>> throughput improvement for mixed workloads) is part of the 3.6.0
> >>>>> release,
> >>>>>> but it isn't mentioned in the release notes or the summary.
> >>>>>> Could you please clarify ?
> >>>>>>
> >>>>>> Thanks,
> >>>>>> Alex
> >>>>>>
> >>>>>>
> >>>>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
> >>>>> wrote:
> >>>>>>
> >>>>>>> I can't parse Rudy's message, is it an issue with my mail
> >> application?
> >>>>>>>
> >>>>>>> -Flavio
> >>>>>>>
> >>>>>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
> >>>>> wrote:
> >>>>>>>>
> >>>>>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> >>>>>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
> >>>>> test
> >>>>>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> >>>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> >>>>>> Failures:
> >>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> >>>>>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
> >>>>> Failures:
> >>>>>> 0,
> >>>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> >>>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
> >>>>> Failures:
> >>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> >>>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
> >>>>> run: 9,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> >>>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> >>>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
> Tests
> >>>>>> run:
> >>>>>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> >>>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run:
> >> 5,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> >>>>>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
> >>>>> run:
> >>>>>> 1,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> >>>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
> >>>>> Running
> >>>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures:
> >> 1,
> >>>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE!
> -
> >>>>> in
> >>>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> >>>>>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
> >>>>> elapsed:
> >>>>>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
> >>>>> at
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> >>>>>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests
> run:
> >>>>> 13,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> >>>>>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures:
> 0,
> >>>>>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> >>>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests
> run:
> >>>>> 14,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> >>>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> >>>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> >> 7,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> >>>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run:
> 4,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> >>>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> >>>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests
> run:
> >>>>> 5,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> >>>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests
> run:
> >>>>> 35,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> >>>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1,
> Failures:
> >>>>> 0,
> >>>>>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> >>>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> >>>>> 46,
> >>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> >>>>>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> >>>>>> Failures:
> >>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> >>>>>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO]
> >> Tests
> >>>>>> run:
> >>>>>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> >>>>>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
> >>>>> Tests
> >>>>>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635
> s
> >>>>> - in
> >>>>>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> >>>>>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> >>>>>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> >>>>>>>
> >>>>>
> >>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> >>>>>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> >>>>>> ,suspend=y,server=n
> >>>>>>> -Dvisualvm.id=962684532457553
> >>>>>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> >>>>>>> -Dmaven.home=/Applications/IntelliJ
> >>>>>>> IDEA.app/Contents/plugins/maven/lib/maven3
> >>>>>>> -Dclassworlds.conf=/Applications/IntelliJ
> >>>>>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> >>>>>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> >>>>>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> >>>>>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> >>>>>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> >>>>>>> &amp;&amp;
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>>>> -jar
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0
> 9:35下午
> >>>>> ??
> >>>>>>>    0:05.16
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>>>> -jar
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
> >>>>> processes
> >>>>>>> for unit test not close correctly, lead successor test stuck
> >>>>>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
> >>>>> wrote:
> >>>>>>>>> This is a release candidate for 3.6.0.
> >>>>>>>>>
> >>>>>>>>> It is a major release and it introduces a lot of new features,
> most
> >>>>>>> notably:
> >>>>>>>>> - Built-in data consistency check inside ZooKeeper
> >>>>>>>>> - Allow Followers to host Observers
> >>>>>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
> >>>>>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> >>>>>> integration)
> >>>>>>>>> - TLS Port unification
> >>>>>>>>> - Audit logging in ZooKeeper servers
> >>>>>>>>> - Improve resilience to network (advertise multiple addresses for
> >>>>>>> members
> >>>>>>>>> of a Zookeeper cluster)
> >>>>>>>>> - Persistent Recursive Watches
> >>>>>>>>> - add an API and the corresponding CLI to get total count of
> >>>>> recursive
> >>>>>>> sub
> >>>>>>>>> nodes under a specific path
> >>>>>>>>>
> >>>>>>>>> The full release notes is available at:
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>>>>>>>>
> >>>>>>>>> *** Please download, test and vote by January 19th 2020, 23:59
> >>>>> UTC+0.
> >>>>>>> ***
> >>>>>>>>>
> >>>>>>>>> Source files:
> >>>>>>>>>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>>>>>>>>
> >>>>>>>>> Maven staging repo:
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>>>>>>>>
> >>>>>>>>> The release candidate tag in git to be voted upon:
> release-3.6.0-0
> >>>>>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>>>>>>>>
> >>>>>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the
> >>>>> release:
> >>>>>>>>> https://www.apache.org/dist/zookeeper/KEYS
> >>>>>>>>>
> >>>>>>>>> Please note that this new major release introduces these change
> in
> >>>>> the
> >>>>>>>>> staging area:
> >>>>>>>>> - the source artifacts package is in zip format
> >>>>>>>>> - we are releasing a new binary package with the C client (with
> >>>>>> OpenSSL
> >>>>>>>>> support)
> >>>>>>>>> - website preview
> >>>>>>>>>
> >>>>>>>>> We are also adding a new JAR: zookeeper-metrics-providers
> >>>>>>>>>
> >>>>>>>>> The staging version of the website is:
> >>>>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>>>>>>>>
> >>>>>>>>> Should we release this candidate?
> >>>>>>>>>
> >>>>>>>>> Enrico Olivelli
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>
> >>>>
> >>
> >>
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Andor Molnar <an...@apache.org>.
Thanks a lot Enrico, great work so far. 
If you’re feeling having hard a time as a RM, you’re definitely on the right track. :)

Referring 3.6.0 as a “major” release made me thinking a bit. This release is definitely a big leap in ZK’s history, but strictly based on the versioning it is “only” a minor release: version number consists of major.minor.maintenance parts.

https://cwiki.apache.org/confluence/display/ZOOKEEPER/ReleaseManagement

Andor




> On 2020. Jan 16., at 14:31, Enrico Olivelli <eo...@gmail.com> wrote:
> 
> Thank you Patrick and Andor
> 
> 
> 
> Il giorno gio 16 gen 2020 alle ore 14:18 Andor Molnar <an...@apache.org> ha
> scritto:
> 
>> Hi,
>> 
>> 1) I think TLD “parent-3.6” is a consequence of the following rename:
>> https://github.com/apache/zookeeper/pull/892
>> 
>> Which was done due to enabling us to rename ‘zookeeper-server’ to
>> ‘zookeeper’ and keep the legacy Maven structure. I suspect 2 Maven projects
>> cannot have the same name, so we probably need something other than
>> “zookeeper”. In previous releases the TLD was ‘apache-zookeeper-X.X.X’, so
>> maybe we could rename the top level project to “apache-zookeeper”.
>> 
> 
> I will try to fix this personally.
> I will create a JIRA and deliver the fix for the next RC.
> If I can't fix it with the zip file I will resume the source tarball
> 
> 
>> 
>> 2) “lib” tarball
>> I think we’ve already talked about releasing C binaries and I had always
>> been against it. These libraries are not portable and unless we release
>> separate artifacts for all major distributions (including Windows?), I
>> don’t see the point of introducing it. Plus the things that Patrick
>> mentioned, I strongly believe that we should remove it from the release.
>> 
> 
> From this comment and from Patrick's email it is better to remove this part
> for 3.6, we can continue the discussion for the next Major release.
> My plan is to simply NOT  include the apache-zookeeper-3.6.0-lib.tar.gz in
> the next VOTE rc
> 
> For me having the binaries is a +0, I am not sure how users will benefit
> from them,
> maybe it would be better to have some deployment of ZooKeeper C lib in
> public repositories, but I really don't know how it works.
> 
> 
> 
>> 
>> 3) “test23”
>> I haven’t checked that yet, but that’s related to the multi-address patch
>> which was added recently. Mate and I can take a look.
>> 
> 
> Regarding the 'test23' failure I am able to reproduce exactly Patricks's
> problem.
> Thank you Mate and Andor for your time, I am not able to dig into the cause
> this week.
> 
> 
> Please consider this VOTE thread closed.
> 
> I will leave the staged artifact available on my people.apache.org web
> space and on repositories.apache.org, in case people want to test the
> client and compatibility with applications
> built for 3.5.x
> 
> This is a major release and I think it is expected to have more iterations
> over the release
> 
> Best regards
> Enrico
> 
> 
> 
> 
> 
>> 
>> Regards,
>> Andor
>> 
>> 
>> 
>> 
>>> On 2020. Jan 16., at 4:45, Patrick Hunt <ph...@apache.org> wrote:
>>> 
>>> wrt the addition of lib - we've had to move to explicitly telling users
>>> _not_ to use the client binaries except as learning aids
>>> 
>>> "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
>>> example/sample of ZooKeeper C client API usage. It is not a full
>>> fledged client and not meant for production usage - see the Java
>>> client shell for a fully featured shell."
>>> 
>>> due to repeated security issues being raised and attempting to reduce the
>>> burden security reports impose - the libs are fine, but the C clients
>>> themselves were not created with security in mind and users should use
>> the
>>> Java CLIs instead. We could fix that, I assume, but afaik so far that
>>> hasn't been done (harden the c cli/load binaries).
>>> 
>>> We shouldn't include the bin/* IMO, although having an artifact for the
>>> libs themselves is fine.
>>> 
>>> 
>>> I'm sure we all know this, but I also want to clarify that the _source_
>> is
>>> what we are releasing - the bin/lib/etc... are all "conveniences"
>>> https://www.apache.org/dev/release-publishing.html#valid
>>> language such as "we are releasing a new binary package with the C client
>>> (with OpenSSL support)" concerns me a bit as the binaries are not the
>>> release. Sorry for the nit picking but it is important for the community
>> to
>>> follow and understand established Apache guidance on this.
>>> 
>>> Patrick
>>> 
>>> 
>>> On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
>>> 
>>>> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results
>> in
>>>> a tld of "parent-3.6.0" - can we fix this? The other artifacts
>> de-archive
>>>> correctly, expect this one. It seems a shame. Given this issue and the
>>>> tar.gz->zip - perhaps we should reconsider and just generate the source
>>>> ourselves? Or is there a way to ensure the tld name is correct?
>>>> (setting/config?)
>>>> 
>>>> Patrick
>>>> 
>>>> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
>>>> wrote:
>>>> 
>>>>> Alexander,
>>>>> I have pasted a wrong link in the VOTE email, I am sorry
>>>>> 
>>>>> The good link is
>>>>> 
>>>>> 
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
>>>>> 
>>>>> You can also see the staged released notes in the website
>>>>> 
>>>>> 
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
>>>>> 
>>>>> Thank you so much for reporting this issue
>>>>> 
>>>>> Happy testing
>>>>> 
>>>>> Enrico
>>>>> 
>>>>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
>>>>> shralex@gmail.com>
>>>>> ha scritto:
>>>>> 
>>>>>> Hi Enrico,
>>>>>> 
>>>>>> Thank you for driving this release!
>>>>>> 
>>>>>> I have a question - i believe that Zookeeper-2024 (an order of
>> magnitude
>>>>>> throughput improvement for mixed workloads) is part of the 3.6.0
>>>>> release,
>>>>>> but it isn't mentioned in the release notes or the summary.
>>>>>> Could you please clarify ?
>>>>>> 
>>>>>> Thanks,
>>>>>> Alex
>>>>>> 
>>>>>> 
>>>>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
>>>>> wrote:
>>>>>> 
>>>>>>> I can't parse Rudy's message, is it an issue with my mail
>> application?
>>>>>>> 
>>>>>>> -Flavio
>>>>>>> 
>>>>>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
>>>>> wrote:
>>>>>>>> 
>>>>>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
>>>>>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
>>>>> test
>>>>>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
>>>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
>>>>>> Failures:
>>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
>>>>>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
>>>>> Failures:
>>>>>> 0,
>>>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
>>>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
>>>>> Failures:
>>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
>>>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
>>>>> run: 9,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
>>>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
>>>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
>>>>>> run:
>>>>>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
>>>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run:
>> 5,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
>>>>>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
>>>>> run:
>>>>>> 1,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
>>>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
>>>>> Running
>>>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures:
>> 1,
>>>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
>>>>> in
>>>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
>>>>>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
>>>>> elapsed:
>>>>>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
>>>>> at
>>>>>>> 
>>>>>> 
>>>>> 
>> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
>>>>>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
>>>>> 13,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
>>>>>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
>>>>>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
>>>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
>>>>> 14,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
>>>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
>>>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>> 7,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
>>>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
>>>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
>>>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>>>> 5,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
>>>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>>>> 35,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
>>>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
>>>>> 0,
>>>>>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
>>>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>>>>> 46,
>>>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
>>>>>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
>>>>>> Failures:
>>>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
>>>>>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO]
>> Tests
>>>>>> run:
>>>>>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
>>>>>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
>>>>> Tests
>>>>>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
>>>>> - in
>>>>>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
>>>>>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
>>>>>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
>>>>>>> 
>>>>> 
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
>>>>>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
>>>>>> ,suspend=y,server=n
>>>>>>> -Dvisualvm.id=962684532457553
>>>>>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
>>>>>>> -Dmaven.home=/Applications/IntelliJ
>>>>>>> IDEA.app/Contents/plugins/maven/lib/maven3
>>>>>>> -Dclassworlds.conf=/Applications/IntelliJ
>>>>>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
>>>>>>> 
>>>>>> 
>>>>> 
>> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
>>>>>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
>>>>>>> 
>>>>>> 
>>>>> 
>> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
>>>>>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
>>>>>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>>>>>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
>>>>>>> &amp;&amp;
>>>>>>> 
>>>>>> 
>>>>> 
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>>>>>> 
>>>>>> 
>>>>> 
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>>>>>> -jar
>>>>>>> 
>>>>>> 
>>>>> 
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>>>>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
>>>>> ??
>>>>>>>    0:05.16
>>>>>>> 
>>>>>> 
>>>>> 
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>>>>>> 
>>>>>> 
>>>>> 
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>>>>>> -jar
>>>>>>> 
>>>>>> 
>>>>> 
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>>>>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
>>>>> processes
>>>>>>> for unit test not close correctly, lead successor test stuck
>>>>>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
>>>>> wrote:
>>>>>>>>> This is a release candidate for 3.6.0.
>>>>>>>>> 
>>>>>>>>> It is a major release and it introduces a lot of new features, most
>>>>>>> notably:
>>>>>>>>> - Built-in data consistency check inside ZooKeeper
>>>>>>>>> - Allow Followers to host Observers
>>>>>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
>>>>>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
>>>>>> integration)
>>>>>>>>> - TLS Port unification
>>>>>>>>> - Audit logging in ZooKeeper servers
>>>>>>>>> - Improve resilience to network (advertise multiple addresses for
>>>>>>> members
>>>>>>>>> of a Zookeeper cluster)
>>>>>>>>> - Persistent Recursive Watches
>>>>>>>>> - add an API and the corresponding CLI to get total count of
>>>>> recursive
>>>>>>> sub
>>>>>>>>> nodes under a specific path
>>>>>>>>> 
>>>>>>>>> The full release notes is available at:
>>>>>>>>> 
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>>>>>>>>> 
>>>>>>>>> *** Please download, test and vote by January 19th 2020, 23:59
>>>>> UTC+0.
>>>>>>> ***
>>>>>>>>> 
>>>>>>>>> Source files:
>>>>>>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>>>>>>>>> 
>>>>>>>>> Maven staging repo:
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>>>>>>>>> 
>>>>>>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
>>>>>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>>>>>>>>> 
>>>>>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the
>>>>> release:
>>>>>>>>> https://www.apache.org/dist/zookeeper/KEYS
>>>>>>>>> 
>>>>>>>>> Please note that this new major release introduces these change in
>>>>> the
>>>>>>>>> staging area:
>>>>>>>>> - the source artifacts package is in zip format
>>>>>>>>> - we are releasing a new binary package with the C client (with
>>>>>> OpenSSL
>>>>>>>>> support)
>>>>>>>>> - website preview
>>>>>>>>> 
>>>>>>>>> We are also adding a new JAR: zookeeper-metrics-providers
>>>>>>>>> 
>>>>>>>>> The staging version of the website is:
>>>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>>>>>>>>> 
>>>>>>>>> Should we release this candidate?
>>>>>>>>> 
>>>>>>>>> Enrico Olivelli
>>>>>>> 
>>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>> 
>> 


Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Enrico Olivelli <eo...@gmail.com>.
Thank you Patrick and Andor



Il giorno gio 16 gen 2020 alle ore 14:18 Andor Molnar <an...@apache.org> ha
scritto:

> Hi,
>
> 1) I think TLD “parent-3.6” is a consequence of the following rename:
> https://github.com/apache/zookeeper/pull/892
>
> Which was done due to enabling us to rename ‘zookeeper-server’ to
> ‘zookeeper’ and keep the legacy Maven structure. I suspect 2 Maven projects
> cannot have the same name, so we probably need something other than
> “zookeeper”. In previous releases the TLD was ‘apache-zookeeper-X.X.X’, so
> maybe we could rename the top level project to “apache-zookeeper”.
>

I will try to fix this personally.
I will create a JIRA and deliver the fix for the next RC.
If I can't fix it with the zip file I will resume the source tarball


>
> 2) “lib” tarball
> I think we’ve already talked about releasing C binaries and I had always
> been against it. These libraries are not portable and unless we release
> separate artifacts for all major distributions (including Windows?), I
> don’t see the point of introducing it. Plus the things that Patrick
> mentioned, I strongly believe that we should remove it from the release.
>

From this comment and from Patrick's email it is better to remove this part
for 3.6, we can continue the discussion for the next Major release.
My plan is to simply NOT  include the apache-zookeeper-3.6.0-lib.tar.gz in
the next VOTE rc

For me having the binaries is a +0, I am not sure how users will benefit
from them,
maybe it would be better to have some deployment of ZooKeeper C lib in
public repositories, but I really don't know how it works.



>
> 3) “test23”
> I haven’t checked that yet, but that’s related to the multi-address patch
> which was added recently. Mate and I can take a look.
>

Regarding the 'test23' failure I am able to reproduce exactly Patricks's
problem.
Thank you Mate and Andor for your time, I am not able to dig into the cause
this week.


Please consider this VOTE thread closed.

I will leave the staged artifact available on my people.apache.org web
space and on repositories.apache.org, in case people want to test the
client and compatibility with applications
built for 3.5.x

This is a major release and I think it is expected to have more iterations
over the release

Best regards
Enrico





>
> Regards,
> Andor
>
>
>
>
> > On 2020. Jan 16., at 4:45, Patrick Hunt <ph...@apache.org> wrote:
> >
> > wrt the addition of lib - we've had to move to explicitly telling users
> > _not_ to use the client binaries except as learning aids
> >
> > "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
> > example/sample of ZooKeeper C client API usage. It is not a full
> > fledged client and not meant for production usage - see the Java
> > client shell for a fully featured shell."
> >
> > due to repeated security issues being raised and attempting to reduce the
> > burden security reports impose - the libs are fine, but the C clients
> > themselves were not created with security in mind and users should use
> the
> > Java CLIs instead. We could fix that, I assume, but afaik so far that
> > hasn't been done (harden the c cli/load binaries).
> >
> > We shouldn't include the bin/* IMO, although having an artifact for the
> > libs themselves is fine.
> >
> >
> > I'm sure we all know this, but I also want to clarify that the _source_
> is
> > what we are releasing - the bin/lib/etc... are all "conveniences"
> > https://www.apache.org/dev/release-publishing.html#valid
> > language such as "we are releasing a new binary package with the C client
> > (with OpenSSL support)" concerns me a bit as the binaries are not the
> > release. Sorry for the nit picking but it is important for the community
> to
> > follow and understand established Apache guidance on this.
> >
> > Patrick
> >
> >
> > On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
> >
> >> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results
> in
> >> a tld of "parent-3.6.0" - can we fix this? The other artifacts
> de-archive
> >> correctly, expect this one. It seems a shame. Given this issue and the
> >> tar.gz->zip - perhaps we should reconsider and just generate the source
> >> ourselves? Or is there a way to ensure the tld name is correct?
> >> (setting/config?)
> >>
> >> Patrick
> >>
> >> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
> >> wrote:
> >>
> >>> Alexander,
> >>> I have pasted a wrong link in the VOTE email, I am sorry
> >>>
> >>> The good link is
> >>>
> >>>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
> >>>
> >>> You can also see the staged released notes in the website
> >>>
> >>>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
> >>>
> >>> Thank you so much for reporting this issue
> >>>
> >>> Happy testing
> >>>
> >>> Enrico
> >>>
> >>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
> >>> shralex@gmail.com>
> >>> ha scritto:
> >>>
> >>>> Hi Enrico,
> >>>>
> >>>> Thank you for driving this release!
> >>>>
> >>>> I have a question - i believe that Zookeeper-2024 (an order of
> magnitude
> >>>> throughput improvement for mixed workloads) is part of the 3.6.0
> >>> release,
> >>>> but it isn't mentioned in the release notes or the summary.
> >>>> Could you please clarify ?
> >>>>
> >>>> Thanks,
> >>>> Alex
> >>>>
> >>>>
> >>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
> >>> wrote:
> >>>>
> >>>>> I can't parse Rudy's message, is it an issue with my mail
> application?
> >>>>>
> >>>>> -Flavio
> >>>>>
> >>>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
> >>> wrote:
> >>>>>>
> >>>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> >>>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
> >>> test
> >>>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> >>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> >>>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> >>>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
> >>> Failures:
> >>>> 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> >>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
> >>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> >>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
> >>> run: 9,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> >>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> >>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
> >>>> run:
> >>>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> >>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run:
> 5,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> >>>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
> >>> run:
> >>>> 1,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> >>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
> >>> Running
> >>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures:
> 1,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
> >>> in
> >>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> >>>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
> >>> elapsed:
> >>>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
> >>> at
> >>>>>
> >>>>
> >>>
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> >>>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
> >>> 13,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> >>>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> >>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
> >>> 14,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> >>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> >>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> 7,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> >>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> >>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> >>> 5,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> >>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> >>> 35,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> >>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
> >>> 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> >>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> >>> 46,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> >>>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> >>>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> >>>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO]
> Tests
> >>>> run:
> >>>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> >>>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
> >>> Tests
> >>>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
> >>> - in
> >>>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> >>>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> >>>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> >>>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> >>>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> >>>> ,suspend=y,server=n
> >>>>> -Dvisualvm.id=962684532457553
> >>>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> >>>>> -Dmaven.home=/Applications/IntelliJ
> >>>>> IDEA.app/Contents/plugins/maven/lib/maven3
> >>>>> -Dclassworlds.conf=/Applications/IntelliJ
> >>>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> >>>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> >>>>>
> >>>>
> >>>
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> >>>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> >>>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> >>>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> >>>>> &amp;&amp;
> >>>>>
> >>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>> -jar
> >>>>>
> >>>>
> >>>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
> >>> ??
> >>>>>     0:05.16
> >>>>>
> >>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>> -jar
> >>>>>
> >>>>
> >>>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
> >>> processes
> >>>>> for unit test not close correctly, lead successor test stuck
> >>>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
> >>> wrote:
> >>>>>>> This is a release candidate for 3.6.0.
> >>>>>>>
> >>>>>>> It is a major release and it introduces a lot of new features, most
> >>>>> notably:
> >>>>>>> - Built-in data consistency check inside ZooKeeper
> >>>>>>> - Allow Followers to host Observers
> >>>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
> >>>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> >>>> integration)
> >>>>>>> - TLS Port unification
> >>>>>>> - Audit logging in ZooKeeper servers
> >>>>>>> - Improve resilience to network (advertise multiple addresses for
> >>>>> members
> >>>>>>> of a Zookeeper cluster)
> >>>>>>> - Persistent Recursive Watches
> >>>>>>> - add an API and the corresponding CLI to get total count of
> >>> recursive
> >>>>> sub
> >>>>>>> nodes under a specific path
> >>>>>>>
> >>>>>>> The full release notes is available at:
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>>>>>>
> >>>>>>> *** Please download, test and vote by January 19th 2020, 23:59
> >>> UTC+0.
> >>>>> ***
> >>>>>>>
> >>>>>>> Source files:
> >>>>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>>>>>>
> >>>>>>> Maven staging repo:
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>>>>>>
> >>>>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
> >>>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>>>>>>
> >>>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the
> >>> release:
> >>>>>>> https://www.apache.org/dist/zookeeper/KEYS
> >>>>>>>
> >>>>>>> Please note that this new major release introduces these change in
> >>> the
> >>>>>>> staging area:
> >>>>>>> - the source artifacts package is in zip format
> >>>>>>> - we are releasing a new binary package with the C client (with
> >>>> OpenSSL
> >>>>>>> support)
> >>>>>>> - website preview
> >>>>>>>
> >>>>>>> We are also adding a new JAR: zookeeper-metrics-providers
> >>>>>>>
> >>>>>>> The staging version of the website is:
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>>>>>>
> >>>>>>> Should we release this candidate?
> >>>>>>>
> >>>>>>> Enrico Olivelli
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Enrico Olivelli <eo...@gmail.com>.
Thank you Mate

I will follow the ticket. I am glad that this is a MAC-only problem, so
maybe it won't be an issue in production.
btw we must fix it

If you have news please start a new email thread, as this is the formal
VOTE thread for 3.6.0rc0

Enrico


Il giorno ven 17 gen 2020 alle ore 11:15 Szalay-Bekő Máté <
szalay.beko.mate@gmail.com> ha scritto:

> Hi,
>
> I did some testing regarding the failure Patick found with the 23 ensemble
> members. (btw zkconf is a great tool! I haven't seen it yet...)
>
> The exception is happening when the new MultiAddress feature tries to
> filter the unreachable hosts from the address list. This involves the
> calling of the InetAddress.isReachable method with a default timeout of
> 500ms, which goes down to a native call in java and basically try to do a
> ping (an ICMP echo request) to the host. Naturally, the localhost should be
> always reachable. For some reason, this call gets timeouted on mac if we
> have many ensemble members. I tested with 9 members and the cluster started
> properly. With 11-13-15 members it took more and more time to get the
> cluster to start, and the "NoRouteToHostException" started to appear in the
> logs. After around 1 minute the 15 ensemble members cluster started, but
> obviously this is not good this way. (I also tried with JDK 11 but the I
> found the same behaviour)
>
> On linux, I haven't been able to reproduce the problem. I tried with 5, 9,
> 15 and 23 ensemble members and the quorum always seems to start properly in
> a few seconds. (I used OpenJDK 1.8.232 on Ubuntu 18.04)
>
> I created a Jira ticket for the issue and try to figure out the fix
> quickly: https://issues.apache.org/jira/browse/ZOOKEEPER-3698
>
> Kind regards,
> Mate
>
> On Thu, Jan 16, 2020 at 7:47 PM Szalay-Bekő Máté <
> szalay.beko.mate@gmail.com>
> wrote:
>
> > Yep, ZOOKEEPER-3530 <
> https://issues.apache.org/jira/browse/ZOOKEEPER-3530> was
> > me. :) Sorry to not bring this discussion to the mailing list...
> >
> > I think having a ...-lib.tgz file generated by maven makes sense, so
> > people who are using the C client / C libraries can have them built into
> a
> > single file on their platform. I think this is also something that apache
> > bigtop is looking for. This was something that we had in zookeeper 3.4 as
> > well, but we loose this after the maven migration.
> >
> > Actually having this file generated during the build doesn't mean that we
> > have to upload to any official ftp site. It doesn't need to be part of
> any
> > official (or "convenience") file we share during the release procedure.
> >
> > Still, you think it is a bad thing to generate this file together with
> the
> > other two artifacts, I propose to hide it behind a maven option. So if
> > someone wish to make this artifact for himself (e.g. we are using it in
> our
> > company) then he would still be able to do so, by using a new maven
> options
> > like `mvn clean install -Pfull-build -Pgenerate-native-artifact`.
> >
> > Kind regards,
> > Mate
> >
> > On Thu, Jan 16, 2020 at 7:10 PM Andor Molnar <an...@apache.org> wrote:
> >
> >>
> >>
> >> > On 2020. Jan 16., at 18:10, Patrick Hunt <ph...@apache.org> wrote:
> >> >
> >> >> 2) “lib” tarball
> >> >> I think we’ve already talked about releasing C binaries and I had
> >> always
> >> >> been against it. These libraries are not portable and unless we
> release
> >> >> separate artifacts for all major distributions (including Windows?),
> I
> >> >> don’t see the point of introducing it. Plus the things that Patrick
> >> >> mentioned, I strongly believe that we should remove it from the
> >> release.
> >> >>
> >> >>
> >> > Sorry if I missed, but was this actually discussed? I don't remember
> >> seeing
> >> > it on the mailing list - big shifts like this deserve a community wide
> >> > discussion thread, and perhaps even a vote, imo.
> >>
> >> No worries it wasn’t really a discussion and as far as I remember it
> >> happened on github. I’ve found the Jira:
> >> https://issues.apache.org/jira/browse/ZOOKEEPER-3530
> >>
> >> …but can’t find my comment, so it probably happened earlier.
> >>
> >> Anyway, ticket has been closed already, Enrico is removing it from this
> >> release, so if somebody has a very very strong feeling to resurrect the
> >> topic, feel free to email the @dev list.
> >>
> >> Andor
> >>
> >>
> >>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Szalay-Bekő Máté <sz...@gmail.com>.
Hi,

I did some testing regarding the failure Patick found with the 23 ensemble
members. (btw zkconf is a great tool! I haven't seen it yet...)

The exception is happening when the new MultiAddress feature tries to
filter the unreachable hosts from the address list. This involves the
calling of the InetAddress.isReachable method with a default timeout of
500ms, which goes down to a native call in java and basically try to do a
ping (an ICMP echo request) to the host. Naturally, the localhost should be
always reachable. For some reason, this call gets timeouted on mac if we
have many ensemble members. I tested with 9 members and the cluster started
properly. With 11-13-15 members it took more and more time to get the
cluster to start, and the "NoRouteToHostException" started to appear in the
logs. After around 1 minute the 15 ensemble members cluster started, but
obviously this is not good this way. (I also tried with JDK 11 but the I
found the same behaviour)

On linux, I haven't been able to reproduce the problem. I tried with 5, 9,
15 and 23 ensemble members and the quorum always seems to start properly in
a few seconds. (I used OpenJDK 1.8.232 on Ubuntu 18.04)

I created a Jira ticket for the issue and try to figure out the fix
quickly: https://issues.apache.org/jira/browse/ZOOKEEPER-3698

Kind regards,
Mate

On Thu, Jan 16, 2020 at 7:47 PM Szalay-Bekő Máté <sz...@gmail.com>
wrote:

> Yep, ZOOKEEPER-3530 <https://issues.apache.org/jira/browse/ZOOKEEPER-3530> was
> me. :) Sorry to not bring this discussion to the mailing list...
>
> I think having a ...-lib.tgz file generated by maven makes sense, so
> people who are using the C client / C libraries can have them built into a
> single file on their platform. I think this is also something that apache
> bigtop is looking for. This was something that we had in zookeeper 3.4 as
> well, but we loose this after the maven migration.
>
> Actually having this file generated during the build doesn't mean that we
> have to upload to any official ftp site. It doesn't need to be part of any
> official (or "convenience") file we share during the release procedure.
>
> Still, you think it is a bad thing to generate this file together with the
> other two artifacts, I propose to hide it behind a maven option. So if
> someone wish to make this artifact for himself (e.g. we are using it in our
> company) then he would still be able to do so, by using a new maven options
> like `mvn clean install -Pfull-build -Pgenerate-native-artifact`.
>
> Kind regards,
> Mate
>
> On Thu, Jan 16, 2020 at 7:10 PM Andor Molnar <an...@apache.org> wrote:
>
>>
>>
>> > On 2020. Jan 16., at 18:10, Patrick Hunt <ph...@apache.org> wrote:
>> >
>> >> 2) “lib” tarball
>> >> I think we’ve already talked about releasing C binaries and I had
>> always
>> >> been against it. These libraries are not portable and unless we release
>> >> separate artifacts for all major distributions (including Windows?), I
>> >> don’t see the point of introducing it. Plus the things that Patrick
>> >> mentioned, I strongly believe that we should remove it from the
>> release.
>> >>
>> >>
>> > Sorry if I missed, but was this actually discussed? I don't remember
>> seeing
>> > it on the mailing list - big shifts like this deserve a community wide
>> > discussion thread, and perhaps even a vote, imo.
>>
>> No worries it wasn’t really a discussion and as far as I remember it
>> happened on github. I’ve found the Jira:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-3530
>>
>> …but can’t find my comment, so it probably happened earlier.
>>
>> Anyway, ticket has been closed already, Enrico is removing it from this
>> release, so if somebody has a very very strong feeling to resurrect the
>> topic, feel free to email the @dev list.
>>
>> Andor
>>
>>
>>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Andor Molnar <an...@apache.org>.
Hi Mate,

I don’t mind generating the -lib artifact with a simple Maven command. 
I just say we should not include it in the release.

Andor


> On 2020. Jan 16., at 19:47, Szalay-Bekő Máté <sz...@gmail.com> wrote:
> 
> Yep, ZOOKEEPER-3530 <https://issues.apache.org/jira/browse/ZOOKEEPER-3530> was
> me. :) Sorry to not bring this discussion to the mailing list...
> 
> I think having a ...-lib.tgz file generated by maven makes sense, so people
> who are using the C client / C libraries can have them built into a single
> file on their platform. I think this is also something that apache bigtop
> is looking for. This was something that we had in zookeeper 3.4 as well,
> but we loose this after the maven migration.
> 
> Actually having this file generated during the build doesn't mean that we
> have to upload to any official ftp site. It doesn't need to be part of any
> official (or "convenience") file we share during the release procedure.
> 
> Still, you think it is a bad thing to generate this file together with the
> other two artifacts, I propose to hide it behind a maven option. So if
> someone wish to make this artifact for himself (e.g. we are using it in our
> company) then he would still be able to do so, by using a new maven options
> like `mvn clean install -Pfull-build -Pgenerate-native-artifact`.
> 
> Kind regards,
> Mate
> 
> On Thu, Jan 16, 2020 at 7:10 PM Andor Molnar <an...@apache.org> wrote:
> 
>> 
>> 
>>> On 2020. Jan 16., at 18:10, Patrick Hunt <ph...@apache.org> wrote:
>>> 
>>>> 2) “lib” tarball
>>>> I think we’ve already talked about releasing C binaries and I had always
>>>> been against it. These libraries are not portable and unless we release
>>>> separate artifacts for all major distributions (including Windows?), I
>>>> don’t see the point of introducing it. Plus the things that Patrick
>>>> mentioned, I strongly believe that we should remove it from the release.
>>>> 
>>>> 
>>> Sorry if I missed, but was this actually discussed? I don't remember
>> seeing
>>> it on the mailing list - big shifts like this deserve a community wide
>>> discussion thread, and perhaps even a vote, imo.
>> 
>> No worries it wasn’t really a discussion and as far as I remember it
>> happened on github. I’ve found the Jira:
>> https://issues.apache.org/jira/browse/ZOOKEEPER-3530
>> 
>> …but can’t find my comment, so it probably happened earlier.
>> 
>> Anyway, ticket has been closed already, Enrico is removing it from this
>> release, so if somebody has a very very strong feeling to resurrect the
>> topic, feel free to email the @dev list.
>> 
>> Andor
>> 
>> 
>> 


Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Szalay-Bekő Máté <sz...@gmail.com>.
Yep, ZOOKEEPER-3530 <https://issues.apache.org/jira/browse/ZOOKEEPER-3530> was
me. :) Sorry to not bring this discussion to the mailing list...

I think having a ...-lib.tgz file generated by maven makes sense, so people
who are using the C client / C libraries can have them built into a single
file on their platform. I think this is also something that apache bigtop
is looking for. This was something that we had in zookeeper 3.4 as well,
but we loose this after the maven migration.

Actually having this file generated during the build doesn't mean that we
have to upload to any official ftp site. It doesn't need to be part of any
official (or "convenience") file we share during the release procedure.

Still, you think it is a bad thing to generate this file together with the
other two artifacts, I propose to hide it behind a maven option. So if
someone wish to make this artifact for himself (e.g. we are using it in our
company) then he would still be able to do so, by using a new maven options
like `mvn clean install -Pfull-build -Pgenerate-native-artifact`.

Kind regards,
Mate

On Thu, Jan 16, 2020 at 7:10 PM Andor Molnar <an...@apache.org> wrote:

>
>
> > On 2020. Jan 16., at 18:10, Patrick Hunt <ph...@apache.org> wrote:
> >
> >> 2) “lib” tarball
> >> I think we’ve already talked about releasing C binaries and I had always
> >> been against it. These libraries are not portable and unless we release
> >> separate artifacts for all major distributions (including Windows?), I
> >> don’t see the point of introducing it. Plus the things that Patrick
> >> mentioned, I strongly believe that we should remove it from the release.
> >>
> >>
> > Sorry if I missed, but was this actually discussed? I don't remember
> seeing
> > it on the mailing list - big shifts like this deserve a community wide
> > discussion thread, and perhaps even a vote, imo.
>
> No worries it wasn’t really a discussion and as far as I remember it
> happened on github. I’ve found the Jira:
> https://issues.apache.org/jira/browse/ZOOKEEPER-3530
>
> …but can’t find my comment, so it probably happened earlier.
>
> Anyway, ticket has been closed already, Enrico is removing it from this
> release, so if somebody has a very very strong feeling to resurrect the
> topic, feel free to email the @dev list.
>
> Andor
>
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Andor Molnar <an...@apache.org>.

> On 2020. Jan 16., at 18:10, Patrick Hunt <ph...@apache.org> wrote:
> 
>> 2) “lib” tarball
>> I think we’ve already talked about releasing C binaries and I had always
>> been against it. These libraries are not portable and unless we release
>> separate artifacts for all major distributions (including Windows?), I
>> don’t see the point of introducing it. Plus the things that Patrick
>> mentioned, I strongly believe that we should remove it from the release.
>> 
>> 
> Sorry if I missed, but was this actually discussed? I don't remember seeing
> it on the mailing list - big shifts like this deserve a community wide
> discussion thread, and perhaps even a vote, imo.

No worries it wasn’t really a discussion and as far as I remember it happened on github. I’ve found the Jira:
https://issues.apache.org/jira/browse/ZOOKEEPER-3530

…but can’t find my comment, so it probably happened earlier.

Anyway, ticket has been closed already, Enrico is removing it from this release, so if somebody has a very very strong feeling to resurrect the topic, feel free to email the @dev list.

Andor



Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Patrick Hunt <ph...@apache.org>.
On Thu, Jan 16, 2020 at 5:18 AM Andor Molnar <an...@apache.org> wrote:

> Hi,
>
> 1) I think TLD “parent-3.6” is a consequence of the following rename:
> https://github.com/apache/zookeeper/pull/892
>
> Which was done due to enabling us to rename ‘zookeeper-server’ to
> ‘zookeeper’ and keep the legacy Maven structure. I suspect 2 Maven projects
> cannot have the same name, so we probably need something other than
> “zookeeper”. In previous releases the TLD was ‘apache-zookeeper-X.X.X’, so
> maybe we could rename the top level project to “apache-zookeeper”.
>
>
Agree - IMO it would be good to have all our artifacts have consistent,
clear "apache-zookeeper..." naming.


> 2) “lib” tarball
> I think we’ve already talked about releasing C binaries and I had always
> been against it. These libraries are not portable and unless we release
> separate artifacts for all major distributions (including Windows?), I
> don’t see the point of introducing it. Plus the things that Patrick
> mentioned, I strongly believe that we should remove it from the release.
>
>
Sorry if I missed, but was this actually discussed? I don't remember seeing
it on the mailing list - big shifts like this deserve a community wide
discussion thread, and perhaps even a vote, imo.

I didn't want to -1 as it seemed the community was in favor and willing to
support having client binaries. However IMO it's a bad idea and unless
there is strong support I'd suggest we not do this. fwiw if I had it to do
over again I would not have started publishing convenience binaries at all
- even the bin we have today. I would just have a source artifact and mvn
repo jars. With our excellent move to mvn perhaps we should reconsider
convenience binaries all together (aside mvn repo).

Regards,

Patrick


> 3) “test23”
> I haven’t checked that yet, but that’s related to the multi-address patch
> which was added recently. Mate and I can take a look.
>
> Regards,
> Andor
>
>
>
>
> > On 2020. Jan 16., at 4:45, Patrick Hunt <ph...@apache.org> wrote:
> >
> > wrt the addition of lib - we've had to move to explicitly telling users
> > _not_ to use the client binaries except as learning aids
> >
> > "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
> > example/sample of ZooKeeper C client API usage. It is not a full
> > fledged client and not meant for production usage - see the Java
> > client shell for a fully featured shell."
> >
> > due to repeated security issues being raised and attempting to reduce the
> > burden security reports impose - the libs are fine, but the C clients
> > themselves were not created with security in mind and users should use
> the
> > Java CLIs instead. We could fix that, I assume, but afaik so far that
> > hasn't been done (harden the c cli/load binaries).
> >
> > We shouldn't include the bin/* IMO, although having an artifact for the
> > libs themselves is fine.
> >
> >
> > I'm sure we all know this, but I also want to clarify that the _source_
> is
> > what we are releasing - the bin/lib/etc... are all "conveniences"
> > https://www.apache.org/dev/release-publishing.html#valid
> > language such as "we are releasing a new binary package with the C client
> > (with OpenSSL support)" concerns me a bit as the binaries are not the
> > release. Sorry for the nit picking but it is important for the community
> to
> > follow and understand established Apache guidance on this.
> >
> > Patrick
> >
> >
> > On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
> >
> >> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results
> in
> >> a tld of "parent-3.6.0" - can we fix this? The other artifacts
> de-archive
> >> correctly, expect this one. It seems a shame. Given this issue and the
> >> tar.gz->zip - perhaps we should reconsider and just generate the source
> >> ourselves? Or is there a way to ensure the tld name is correct?
> >> (setting/config?)
> >>
> >> Patrick
> >>
> >> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
> >> wrote:
> >>
> >>> Alexander,
> >>> I have pasted a wrong link in the VOTE email, I am sorry
> >>>
> >>> The good link is
> >>>
> >>>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
> >>>
> >>> You can also see the staged released notes in the website
> >>>
> >>>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
> >>>
> >>> Thank you so much for reporting this issue
> >>>
> >>> Happy testing
> >>>
> >>> Enrico
> >>>
> >>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
> >>> shralex@gmail.com>
> >>> ha scritto:
> >>>
> >>>> Hi Enrico,
> >>>>
> >>>> Thank you for driving this release!
> >>>>
> >>>> I have a question - i believe that Zookeeper-2024 (an order of
> magnitude
> >>>> throughput improvement for mixed workloads) is part of the 3.6.0
> >>> release,
> >>>> but it isn't mentioned in the release notes or the summary.
> >>>> Could you please clarify ?
> >>>>
> >>>> Thanks,
> >>>> Alex
> >>>>
> >>>>
> >>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
> >>> wrote:
> >>>>
> >>>>> I can't parse Rudy's message, is it an issue with my mail
> application?
> >>>>>
> >>>>> -Flavio
> >>>>>
> >>>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
> >>> wrote:
> >>>>>>
> >>>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> >>>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
> >>> test
> >>>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> >>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> >>>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> >>>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
> >>> Failures:
> >>>> 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> >>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
> >>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> >>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
> >>> run: 9,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> >>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> >>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
> >>>> run:
> >>>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> >>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run:
> 5,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> >>>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
> >>> run:
> >>>> 1,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> >>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
> >>> Running
> >>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures:
> 1,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
> >>> in
> >>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> >>>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
> >>> elapsed:
> >>>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
> >>> at
> >>>>>
> >>>>
> >>>
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> >>>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
> >>> 13,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> >>>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> >>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
> >>> 14,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> >>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> >>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> 7,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> >>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> >>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> >>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> >>> 5,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> >>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> >>> 35,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> >>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
> >>> 0,
> >>>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> >>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
> >>> 46,
> >>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> >>>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> >>>> Failures:
> >>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> >>>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO]
> Tests
> >>>> run:
> >>>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> >>>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
> >>> Tests
> >>>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
> >>> - in
> >>>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> >>>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> >>>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> >>>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> >>>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> >>>> ,suspend=y,server=n
> >>>>> -Dvisualvm.id=962684532457553
> >>>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> >>>>> -Dmaven.home=/Applications/IntelliJ
> >>>>> IDEA.app/Contents/plugins/maven/lib/maven3
> >>>>> -Dclassworlds.conf=/Applications/IntelliJ
> >>>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> >>>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> >>>>>
> >>>>
> >>>
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> >>>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> >>>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> >>>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> >>>>> &amp;&amp;
> >>>>>
> >>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>> -jar
> >>>>>
> >>>>
> >>>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
> >>> ??
> >>>>>     0:05.16
> >>>>>
> >>>>
> >>>
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> >>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >>>>>
> >>>>
> >>>
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> >>>>> -jar
> >>>>>
> >>>>
> >>>
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> >>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
> >>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> >>>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
> >>> processes
> >>>>> for unit test not close correctly, lead successor test stuck
> >>>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
> >>> wrote:
> >>>>>>> This is a release candidate for 3.6.0.
> >>>>>>>
> >>>>>>> It is a major release and it introduces a lot of new features, most
> >>>>> notably:
> >>>>>>> - Built-in data consistency check inside ZooKeeper
> >>>>>>> - Allow Followers to host Observers
> >>>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
> >>>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> >>>> integration)
> >>>>>>> - TLS Port unification
> >>>>>>> - Audit logging in ZooKeeper servers
> >>>>>>> - Improve resilience to network (advertise multiple addresses for
> >>>>> members
> >>>>>>> of a Zookeeper cluster)
> >>>>>>> - Persistent Recursive Watches
> >>>>>>> - add an API and the corresponding CLI to get total count of
> >>> recursive
> >>>>> sub
> >>>>>>> nodes under a specific path
> >>>>>>>
> >>>>>>> The full release notes is available at:
> >>>>>>>
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>>>>>>
> >>>>>>> *** Please download, test and vote by January 19th 2020, 23:59
> >>> UTC+0.
> >>>>> ***
> >>>>>>>
> >>>>>>> Source files:
> >>>>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>>>>>>
> >>>>>>> Maven staging repo:
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>>>>>>
> >>>>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
> >>>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>>>>>>
> >>>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the
> >>> release:
> >>>>>>> https://www.apache.org/dist/zookeeper/KEYS
> >>>>>>>
> >>>>>>> Please note that this new major release introduces these change in
> >>> the
> >>>>>>> staging area:
> >>>>>>> - the source artifacts package is in zip format
> >>>>>>> - we are releasing a new binary package with the C client (with
> >>>> OpenSSL
> >>>>>>> support)
> >>>>>>> - website preview
> >>>>>>>
> >>>>>>> We are also adding a new JAR: zookeeper-metrics-providers
> >>>>>>>
> >>>>>>> The staging version of the website is:
> >>>>>>>
> >>>>>
> >>>>
> >>>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>>>>>>
> >>>>>>> Should we release this candidate?
> >>>>>>>
> >>>>>>> Enrico Olivelli
> >>>>>
> >>>>>
> >>>>
> >>>
> >>
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Andor Molnar <an...@apache.org>.
Hi,

1) I think TLD “parent-3.6” is a consequence of the following rename:
https://github.com/apache/zookeeper/pull/892

Which was done due to enabling us to rename ‘zookeeper-server’ to ‘zookeeper’ and keep the legacy Maven structure. I suspect 2 Maven projects cannot have the same name, so we probably need something other than “zookeeper”. In previous releases the TLD was ‘apache-zookeeper-X.X.X’, so maybe we could rename the top level project to “apache-zookeeper”.

2) “lib” tarball
I think we’ve already talked about releasing C binaries and I had always been against it. These libraries are not portable and unless we release separate artifacts for all major distributions (including Windows?), I don’t see the point of introducing it. Plus the things that Patrick mentioned, I strongly believe that we should remove it from the release.

3) “test23” 
I haven’t checked that yet, but that’s related to the multi-address patch which was added recently. Mate and I can take a look.

Regards,
Andor




> On 2020. Jan 16., at 4:45, Patrick Hunt <ph...@apache.org> wrote:
> 
> wrt the addition of lib - we've had to move to explicitly telling users
> _not_ to use the client binaries except as learning aids
> 
> "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
> example/sample of ZooKeeper C client API usage. It is not a full
> fledged client and not meant for production usage - see the Java
> client shell for a fully featured shell."
> 
> due to repeated security issues being raised and attempting to reduce the
> burden security reports impose - the libs are fine, but the C clients
> themselves were not created with security in mind and users should use the
> Java CLIs instead. We could fix that, I assume, but afaik so far that
> hasn't been done (harden the c cli/load binaries).
> 
> We shouldn't include the bin/* IMO, although having an artifact for the
> libs themselves is fine.
> 
> 
> I'm sure we all know this, but I also want to clarify that the _source_ is
> what we are releasing - the bin/lib/etc... are all "conveniences"
> https://www.apache.org/dev/release-publishing.html#valid
> language such as "we are releasing a new binary package with the C client
> (with OpenSSL support)" concerns me a bit as the binaries are not the
> release. Sorry for the nit picking but it is important for the community to
> follow and understand established Apache guidance on this.
> 
> Patrick
> 
> 
> On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
> 
>> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results in
>> a tld of "parent-3.6.0" - can we fix this? The other artifacts de-archive
>> correctly, expect this one. It seems a shame. Given this issue and the
>> tar.gz->zip - perhaps we should reconsider and just generate the source
>> ourselves? Or is there a way to ensure the tld name is correct?
>> (setting/config?)
>> 
>> Patrick
>> 
>> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
>> wrote:
>> 
>>> Alexander,
>>> I have pasted a wrong link in the VOTE email, I am sorry
>>> 
>>> The good link is
>>> 
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
>>> 
>>> You can also see the staged released notes in the website
>>> 
>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
>>> 
>>> Thank you so much for reporting this issue
>>> 
>>> Happy testing
>>> 
>>> Enrico
>>> 
>>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
>>> shralex@gmail.com>
>>> ha scritto:
>>> 
>>>> Hi Enrico,
>>>> 
>>>> Thank you for driving this release!
>>>> 
>>>> I have a question - i believe that Zookeeper-2024 (an order of magnitude
>>>> throughput improvement for mixed workloads) is part of the 3.6.0
>>> release,
>>>> but it isn't mentioned in the release notes or the summary.
>>>> Could you please clarify ?
>>>> 
>>>> Thanks,
>>>> Alex
>>>> 
>>>> 
>>>> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
>>> wrote:
>>>> 
>>>>> I can't parse Rudy's message, is it an issue with my mail application?
>>>>> 
>>>>> -Flavio
>>>>> 
>>>>>> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
>>> wrote:
>>>>>> 
>>>>>> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
>>>>> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
>>> test
>>>>> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
>>>> Failures:
>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
>>>>> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
>>> Failures:
>>>> 0,
>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
>>>>> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
>>> Failures:
>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
>>>>> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
>>> run: 9,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
>>>>> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
>>>>> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
>>>> run:
>>>>> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
>>>>> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
>>>>> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
>>> run:
>>>> 1,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
>>>>> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
>>> Running
>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
>>>>> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
>>> in
>>>>> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
>>>>> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
>>> elapsed:
>>>>> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
>>> at
>>>>> 
>>>> 
>>> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
>>>>> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
>>> 13,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
>>>>> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
>>>>> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
>>>>> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
>>> 14,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
>>>>> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
>>>>> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
>>>>> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
>>>>> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>> 5,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
>>>>> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>> 35,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
>>>>> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
>>> 0,
>>>>> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
>>>>> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>>> 46,
>>>>> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
>>>>> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
>>>> Failures:
>>>>> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
>>>>> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
>>>> run:
>>>>> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
>>>>> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
>>> Tests
>>>>> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
>>> - in
>>>>> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
>>>>> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
>>>>> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
>>>>> 
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
>>>>> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
>>>> ,suspend=y,server=n
>>>>> -Dvisualvm.id=962684532457553
>>>>> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
>>>>> -Dmaven.home=/Applications/IntelliJ
>>>>> IDEA.app/Contents/plugins/maven/lib/maven3
>>>>> -Dclassworlds.conf=/Applications/IntelliJ
>>>>> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
>>>>> 
>>>> 
>>> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
>>>>> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
>>>>> 
>>>> 
>>> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
>>>>> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
>>>>> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>>>>> 0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
>>>>> &amp;&amp;
>>>>> 
>>>> 
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>>>> 
>>>> 
>>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>>>> -jar
>>>>> 
>>>> 
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>>>> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
>>> ??
>>>>>     0:05.16
>>>>> 
>>>> 
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>>>> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>>>> 
>>>> 
>>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>>>> -jar
>>>>> 
>>>> 
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>>>> /export/workspace/zookeeper/zookeeper-server/target/surefire
>>>>> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>>>> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
>>> processes
>>>>> for unit test not close correctly, lead successor test stuck
>>>>>> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
>>> wrote:
>>>>>>> This is a release candidate for 3.6.0.
>>>>>>> 
>>>>>>> It is a major release and it introduces a lot of new features, most
>>>>> notably:
>>>>>>> - Built-in data consistency check inside ZooKeeper
>>>>>>> - Allow Followers to host Observers
>>>>>>> - A new feature proposal to ZooKeeper: authentication enforcement
>>>>>>> - Pluggable metrics system for ZooKeeper (and Prometheus.io
>>>> integration)
>>>>>>> - TLS Port unification
>>>>>>> - Audit logging in ZooKeeper servers
>>>>>>> - Improve resilience to network (advertise multiple addresses for
>>>>> members
>>>>>>> of a Zookeeper cluster)
>>>>>>> - Persistent Recursive Watches
>>>>>>> - add an API and the corresponding CLI to get total count of
>>> recursive
>>>>> sub
>>>>>>> nodes under a specific path
>>>>>>> 
>>>>>>> The full release notes is available at:
>>>>>>> 
>>>>>>> 
>>>>> 
>>>> 
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>>>>>>> 
>>>>>>> *** Please download, test and vote by January 19th 2020, 23:59
>>> UTC+0.
>>>>> ***
>>>>>>> 
>>>>>>> Source files:
>>>>>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>>>>>>> 
>>>>>>> Maven staging repo:
>>>>>>> 
>>>>> 
>>>> 
>>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>>>>>>> 
>>>>>>> The release candidate tag in git to be voted upon: release-3.6.0-0
>>>>>>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>>>>>>> 
>>>>>>> ZooKeeper's KEYS file containing PGP keys we use to sign the
>>> release:
>>>>>>> https://www.apache.org/dist/zookeeper/KEYS
>>>>>>> 
>>>>>>> Please note that this new major release introduces these change in
>>> the
>>>>>>> staging area:
>>>>>>> - the source artifacts package is in zip format
>>>>>>> - we are releasing a new binary package with the C client (with
>>>> OpenSSL
>>>>>>> support)
>>>>>>> - website preview
>>>>>>> 
>>>>>>> We are also adding a new JAR: zookeeper-metrics-providers
>>>>>>> 
>>>>>>> The staging version of the website is:
>>>>>>> 
>>>>> 
>>>> 
>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>>>>>>> 
>>>>>>> Should we release this candidate?
>>>>>>> 
>>>>>>> Enrico Olivelli
>>>>> 
>>>>> 
>>>> 
>>> 
>> 


Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Patrick Hunt <ph...@apache.org>.
-1 the release artifact looks good generally, however it's failing my
manual testing.

I have been running the following test for every release for quite a few
years - this tool was initially created in 2009 specifically to enable this
type of validation:
https://github.com/phunt/zkconf
$ python ./zkconf.py --count 23 ~/Downloads/z/apache-zookeeper-3.6.0-bin
test23
and then "start.sh" in test23 directory. This starts a ZK cluster with 23
ensemble members. This test has never failed that I can remember - however
it's failing with this RC (fwiw I ran it for 3.5.6 most recently and it
passed).

Note: this passes on 3.6.0rc codebase with 3 members to the quorum created
via:
$ python ./zkconf.py --count 3 ~/Downloads/z/parent-3.6.0 test3

From what I see in the test23 ensemble logs there is a warning happening
frequently:

2020-01-15 20:02:13,431 [myid:13] - WARN
 [ListenerHandler-phunt-MBP13.local/192.168.1.91:4193:QuorumCnxManager@691]
- None of the addresses (/192.168.1.91:4190) are reachable for sid 10
java.net.NoRouteToHostException: No valid address among [/192.168.1.91:4190]

which is new code added in 3.6.0 - ZOOKEEPER-3188. I do not see this
warning with the 3 node ensemble using the same codebase.

Patrick

On Wed, Jan 15, 2020 at 7:45 PM Patrick Hunt <ph...@apache.org> wrote:

> wrt the addition of lib - we've had to move to explicitly telling users
> _not_ to use the client binaries except as learning aids
>
> "NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
> example/sample of ZooKeeper C client API usage. It is not a full
> fledged client and not meant for production usage - see the Java
> client shell for a fully featured shell."
>
> due to repeated security issues being raised and attempting to reduce the
> burden security reports impose - the libs are fine, but the C clients
> themselves were not created with security in mind and users should use the
> Java CLIs instead. We could fix that, I assume, but afaik so far that
> hasn't been done (harden the c cli/load binaries).
>
> We shouldn't include the bin/* IMO, although having an artifact for the
> libs themselves is fine.
>
>
> I'm sure we all know this, but I also want to clarify that the _source_ is
> what we are releasing - the bin/lib/etc... are all "conveniences"
> https://www.apache.org/dev/release-publishing.html#valid
> language such as "we are releasing a new binary package with the C client
> (with OpenSSL support)" concerns me a bit as the binaries are not the
> release. Sorry for the nit picking but it is important for the community to
> follow and understand established Apache guidance on this.
>
> Patrick
>
>
> On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:
>
>> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results in
>> a tld of "parent-3.6.0" - can we fix this? The other artifacts de-archive
>> correctly, expect this one. It seems a shame. Given this issue and the
>> tar.gz->zip - perhaps we should reconsider and just generate the source
>> ourselves? Or is there a way to ensure the tld name is correct?
>> (setting/config?)
>>
>> Patrick
>>
>> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
>> wrote:
>>
>>> Alexander,
>>> I have pasted a wrong link in the VOTE email, I am sorry
>>>
>>> The good link is
>>>
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
>>>
>>> You can also see the staged released notes in the website
>>>
>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
>>>
>>> Thank you so much for reporting this issue
>>>
>>> Happy testing
>>>
>>> Enrico
>>>
>>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
>>> shralex@gmail.com>
>>> ha scritto:
>>>
>>> > Hi Enrico,
>>> >
>>> > Thank you for driving this release!
>>> >
>>> > I have a question - i believe that Zookeeper-2024 (an order of
>>> magnitude
>>> > throughput improvement for mixed workloads) is part of the 3.6.0
>>> release,
>>> > but it isn't mentioned in the release notes or the summary.
>>> > Could you please clarify ?
>>> >
>>> > Thanks,
>>> > Alex
>>> >
>>> >
>>> > On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
>>> wrote:
>>> >
>>> > > I can't parse Rudy's message, is it an issue with my mail
>>> application?
>>> > >
>>> > > -Flavio
>>> > >
>>> > > > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
>>> wrote:
>>> > > >
>>> > > > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
>>> > > 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
>>> test
>>> > > thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
>>> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
>>> > Failures:
>>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
>>> > > org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
>>> Failures:
>>> > 0,
>>> > > Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
>>> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
>>> Failures:
>>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
>>> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
>>> run: 9,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
>>> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
>>> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
>>> > run:
>>> > > 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
>>> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run:
>>> 5,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
>>> > > org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
>>> run:
>>> > 1,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
>>> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
>>> Running
>>> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures:
>>> 1,
>>> > > Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
>>> in
>>> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
>>> > > testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
>>> elapsed:
>>> > > 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
>>>   at
>>> > >
>>> >
>>> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
>>> > > Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests
>>> run: 13,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
>>> > > org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
>>> > > Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
>>> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests
>>> run: 14,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
>>> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
>>> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>>> 7,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
>>> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
>>> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
>>> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>> 5,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
>>> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>>> 35,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
>>> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1,
>>> Failures: 0,
>>> > > Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
>>> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>>> 46,
>>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
>>> > > org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
>>> > Failures:
>>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
>>> > > org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO]
>>> Tests
>>> > run:
>>> > > 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
>>> > > org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
>>> Tests
>>> > > run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
>>> - in
>>> > > org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
>>> > > <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
>>> > > :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
>>> > >
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
>>> > > -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
>>> > ,suspend=y,server=n
>>> > > -Dvisualvm.id=962684532457553
>>> > > -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
>>> > > -Dmaven.home=/Applications/IntelliJ
>>> > > IDEA.app/Contents/plugins/maven/lib/maven3
>>> > > -Dclassworlds.conf=/Applications/IntelliJ
>>> > > IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
>>> > >
>>> >
>>> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
>>> > > -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
>>> > >
>>> >
>>> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
>>> > > IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
>>> > > -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>>> > >  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
>>> > > &amp;&amp;
>>> > >
>>> >
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>> > >
>>> >
>>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>> > > -jar
>>> > >
>>> >
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
>>> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>> > > surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
>>> ??
>>> > >      0:05.16
>>> > >
>>> >
>>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>>> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>>> > >
>>> >
>>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>>> > > -jar
>>> > >
>>> >
>>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>>> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
>>> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>>> > > surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
>>> processes
>>> > > for unit test not close correctly, lead successor test stuck
>>> > > > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
>>> wrote:
>>> > > >> This is a release candidate for 3.6.0.
>>> > > >>
>>> > > >> It is a major release and it introduces a lot of new features,
>>> most
>>> > > notably:
>>> > > >> - Built-in data consistency check inside ZooKeeper
>>> > > >> - Allow Followers to host Observers
>>> > > >> - A new feature proposal to ZooKeeper: authentication enforcement
>>> > > >> - Pluggable metrics system for ZooKeeper (and Prometheus.io
>>> > integration)
>>> > > >> - TLS Port unification
>>> > > >> - Audit logging in ZooKeeper servers
>>> > > >> - Improve resilience to network (advertise multiple addresses for
>>> > > members
>>> > > >> of a Zookeeper cluster)
>>> > > >> - Persistent Recursive Watches
>>> > > >> - add an API and the corresponding CLI to get total count of
>>> recursive
>>> > > sub
>>> > > >> nodes under a specific path
>>> > > >>
>>> > > >> The full release notes is available at:
>>> > > >>
>>> > > >>
>>> > >
>>> >
>>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>>> > > >>
>>> > > >> *** Please download, test and vote by January 19th 2020, 23:59
>>> UTC+0.
>>> > > ***
>>> > > >>
>>> > > >> Source files:
>>> > > >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>>> > > >>
>>> > > >> Maven staging repo:
>>> > > >>
>>> > >
>>> >
>>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>>> > > >>
>>> > > >> The release candidate tag in git to be voted upon: release-3.6.0-0
>>> > > >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>>> > > >>
>>> > > >> ZooKeeper's KEYS file containing PGP keys we use to sign the
>>> release:
>>> > > >> https://www.apache.org/dist/zookeeper/KEYS
>>> > > >>
>>> > > >> Please note that this new major release introduces these change
>>> in the
>>> > > >> staging area:
>>> > > >> - the source artifacts package is in zip format
>>> > > >> - we are releasing a new binary package with the C client (with
>>> > OpenSSL
>>> > > >> support)
>>> > > >> - website preview
>>> > > >>
>>> > > >> We are also adding a new JAR: zookeeper-metrics-providers
>>> > > >>
>>> > > >> The staging version of the website is:
>>> > > >>
>>> > >
>>> >
>>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>>> > > >>
>>> > > >> Should we release this candidate?
>>> > > >>
>>> > > >> Enrico Olivelli
>>> > >
>>> > >
>>> >
>>>
>>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Patrick Hunt <ph...@apache.org>.
wrt the addition of lib - we've had to move to explicitly telling users
_not_ to use the client binaries except as learning aids

"NOTE: the ZooKeeper C client shell (cli_st and cli_mt) is meant as a
example/sample of ZooKeeper C client API usage. It is not a full
fledged client and not meant for production usage - see the Java
client shell for a fully featured shell."

due to repeated security issues being raised and attempting to reduce the
burden security reports impose - the libs are fine, but the C clients
themselves were not created with security in mind and users should use the
Java CLIs instead. We could fix that, I assume, but afaik so far that
hasn't been done (harden the c cli/load binaries).

We shouldn't include the bin/* IMO, although having an artifact for the
libs themselves is fine.


I'm sure we all know this, but I also want to clarify that the _source_ is
what we are releasing - the bin/lib/etc... are all "conveniences"
https://www.apache.org/dev/release-publishing.html#valid
language such as "we are releasing a new binary package with the C client
(with OpenSSL support)" concerns me a bit as the binaries are not the
release. Sorry for the nit picking but it is important for the community to
follow and understand established Apache guidance on this.

Patrick


On Wed, Jan 15, 2020 at 7:31 PM Patrick Hunt <ph...@apache.org> wrote:

> Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results in
> a tld of "parent-3.6.0" - can we fix this? The other artifacts de-archive
> correctly, expect this one. It seems a shame. Given this issue and the
> tar.gz->zip - perhaps we should reconsider and just generate the source
> ourselves? Or is there a way to ensure the tld name is correct?
> (setting/config?)
>
> Patrick
>
> On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com>
> wrote:
>
>> Alexander,
>> I have pasted a wrong link in the VOTE email, I am sorry
>>
>> The good link is
>>
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
>>
>> You can also see the staged released notes in the website
>>
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
>>
>> Thank you so much for reporting this issue
>>
>> Happy testing
>>
>> Enrico
>>
>> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
>> shralex@gmail.com>
>> ha scritto:
>>
>> > Hi Enrico,
>> >
>> > Thank you for driving this release!
>> >
>> > I have a question - i believe that Zookeeper-2024 (an order of magnitude
>> > throughput improvement for mixed workloads) is part of the 3.6.0
>> release,
>> > but it isn't mentioned in the release notes or the summary.
>> > Could you please clarify ?
>> >
>> > Thanks,
>> > Alex
>> >
>> >
>> > On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org>
>> wrote:
>> >
>> > > I can't parse Rudy's message, is it an issue with my mail application?
>> > >
>> > > -Flavio
>> > >
>> > > > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com>
>> wrote:
>> > > >
>> > > > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
>> > > 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit
>> test
>> > > thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
>> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
>> > Failures:
>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
>> > > org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
>> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1,
>> Failures:
>> > 0,
>> > > Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
>> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
>> Failures:
>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
>> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
>> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
>> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests
>> run: 9,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
>> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
>> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
>> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
>> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
>> > run:
>> > > 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
>> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
>> > > org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests
>> run:
>> > 1,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
>> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO]
>> Running
>> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
>> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
>> > > Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! -
>> in
>> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
>> > > testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time
>> elapsed:
>> > > 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
>> at
>> > >
>> >
>> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
>> > > Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
>> 13,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
>> > > org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
>> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
>> > > Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
>> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
>> 14,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
>> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Running
>> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
>> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
>> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
>> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
>> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
>> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
>> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
>> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>> 5,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
>> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
>> 35,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
>> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
>> 0,
>> > > Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
>> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run:
>> 46,
>> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
>> > > org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
>> > Failures:
>> > > 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
>> > > org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
>> > run:
>> > > 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
>> > > org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
>> Tests
>> > > run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s
>> - in
>> > > org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
>> > > <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
>> > > :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
>> > >
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
>> > > -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
>> > ,suspend=y,server=n
>> > > -Dvisualvm.id=962684532457553
>> > > -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
>> > > -Dmaven.home=/Applications/IntelliJ
>> > > IDEA.app/Contents/plugins/maven/lib/maven3
>> > > -Dclassworlds.conf=/Applications/IntelliJ
>> > > IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
>> > >
>> >
>> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
>> > > -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
>> > >
>> >
>> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
>> > > IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
>> > > -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>> > >  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
>> > > &amp;&amp;
>> > >
>> >
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>> > >
>> >
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>> > > -jar
>> > >
>> >
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
>> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>> > > surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午
>> ??
>> > >      0:05.16
>> > >
>> >
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
>> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
>> > >
>> >
>> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
>> > > -jar
>> > >
>> >
>> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
>> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
>> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
>> > > surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
>> processes
>> > > for unit test not close correctly, lead successor test stuck
>> > > > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
>> wrote:
>> > > >> This is a release candidate for 3.6.0.
>> > > >>
>> > > >> It is a major release and it introduces a lot of new features, most
>> > > notably:
>> > > >> - Built-in data consistency check inside ZooKeeper
>> > > >> - Allow Followers to host Observers
>> > > >> - A new feature proposal to ZooKeeper: authentication enforcement
>> > > >> - Pluggable metrics system for ZooKeeper (and Prometheus.io
>> > integration)
>> > > >> - TLS Port unification
>> > > >> - Audit logging in ZooKeeper servers
>> > > >> - Improve resilience to network (advertise multiple addresses for
>> > > members
>> > > >> of a Zookeeper cluster)
>> > > >> - Persistent Recursive Watches
>> > > >> - add an API and the corresponding CLI to get total count of
>> recursive
>> > > sub
>> > > >> nodes under a specific path
>> > > >>
>> > > >> The full release notes is available at:
>> > > >>
>> > > >>
>> > >
>> >
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>> > > >>
>> > > >> *** Please download, test and vote by January 19th 2020, 23:59
>> UTC+0.
>> > > ***
>> > > >>
>> > > >> Source files:
>> > > >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>> > > >>
>> > > >> Maven staging repo:
>> > > >>
>> > >
>> >
>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>> > > >>
>> > > >> The release candidate tag in git to be voted upon: release-3.6.0-0
>> > > >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>> > > >>
>> > > >> ZooKeeper's KEYS file containing PGP keys we use to sign the
>> release:
>> > > >> https://www.apache.org/dist/zookeeper/KEYS
>> > > >>
>> > > >> Please note that this new major release introduces these change in
>> the
>> > > >> staging area:
>> > > >> - the source artifacts package is in zip format
>> > > >> - we are releasing a new binary package with the C client (with
>> > OpenSSL
>> > > >> support)
>> > > >> - website preview
>> > > >>
>> > > >> We are also adding a new JAR: zookeeper-metrics-providers
>> > > >>
>> > > >> The staging version of the website is:
>> > > >>
>> > >
>> >
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>> > > >>
>> > > >> Should we release this candidate?
>> > > >>
>> > > >> Enrico Olivelli
>> > >
>> > >
>> >
>>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Patrick Hunt <ph...@apache.org>.
Unzipping the source on mac "unzip apache-zookeeper-3.6.0.zip" results in a
tld of "parent-3.6.0" - can we fix this? The other artifacts de-archive
correctly, expect this one. It seems a shame. Given this issue and the
tar.gz->zip - perhaps we should reconsider and just generate the source
ourselves? Or is there a way to ensure the tld name is correct?
(setting/config?)

Patrick

On Wed, Jan 15, 2020 at 8:05 AM Enrico Olivelli <eo...@gmail.com> wrote:

> Alexander,
> I have pasted a wrong link in the VOTE email, I am sorry
>
> The good link is
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518
>
> You can also see the staged released notes in the website
>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html
>
> Thank you so much for reporting this issue
>
> Happy testing
>
> Enrico
>
> Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <
> shralex@gmail.com>
> ha scritto:
>
> > Hi Enrico,
> >
> > Thank you for driving this release!
> >
> > I have a question - i believe that Zookeeper-2024 (an order of magnitude
> > throughput improvement for mixed workloads) is part of the 3.6.0 release,
> > but it isn't mentioned in the release notes or the summary.
> > Could you please clarify ?
> >
> > Thanks,
> > Alex
> >
> >
> > On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org> wrote:
> >
> > > I can't parse Rudy's message, is it an issue with my mail application?
> > >
> > > -Flavio
> > >
> > > > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> > > >
> > > > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> > > 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
> > > thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> > Failures:
> > > 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> > > org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures:
> > 0,
> > > Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> > > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352,
> Failures:
> > > 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> > > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run:
> 9,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> > > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> > > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
> > run:
> > > 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> > > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> > > org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run:
> > 1,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> > > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
> > > Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
> > > org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> > > testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
> > > 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>
> at
> > >
> >
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> > > Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run:
> 13,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> > > org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> > > Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> > > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run:
> 14,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> > > org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> > > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> > > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> > > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> > > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run:
> 35,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> > > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures:
> 0,
> > > Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> > > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
> > > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> > > org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> > Failures:
> > > 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> > > org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
> > run:
> > > 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> > > org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO]
> Tests
> > > run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s -
> in
> > > org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> > > <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> > > :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> > >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> > > -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> > ,suspend=y,server=n
> > > -Dvisualvm.id=962684532457553
> > > -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> > > -Dmaven.home=/Applications/IntelliJ
> > > IDEA.app/Contents/plugins/maven/lib/maven3
> > > -Dclassworlds.conf=/Applications/IntelliJ
> > > IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> > >
> >
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> > > -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> > >
> >
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> > > IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> > > -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> > >  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> > > &amp;&amp;
> > >
> >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> > >
> >
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> > > -jar
> > >
> >
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> > > surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
> > >      0:05.16
> > >
> >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> > > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> > >
> >
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> > > -jar
> > >
> >
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> > > /export/workspace/zookeeper/zookeeper-server/target/surefire
> > > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> > > surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the
> processes
> > > for unit test not close correctly, lead successor test stuck
> > > > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com>
> wrote:
> > > >> This is a release candidate for 3.6.0.
> > > >>
> > > >> It is a major release and it introduces a lot of new features, most
> > > notably:
> > > >> - Built-in data consistency check inside ZooKeeper
> > > >> - Allow Followers to host Observers
> > > >> - A new feature proposal to ZooKeeper: authentication enforcement
> > > >> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> > integration)
> > > >> - TLS Port unification
> > > >> - Audit logging in ZooKeeper servers
> > > >> - Improve resilience to network (advertise multiple addresses for
> > > members
> > > >> of a Zookeeper cluster)
> > > >> - Persistent Recursive Watches
> > > >> - add an API and the corresponding CLI to get total count of
> recursive
> > > sub
> > > >> nodes under a specific path
> > > >>
> > > >> The full release notes is available at:
> > > >>
> > > >>
> > >
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> > > >>
> > > >> *** Please download, test and vote by January 19th 2020, 23:59
> UTC+0.
> > > ***
> > > >>
> > > >> Source files:
> > > >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> > > >>
> > > >> Maven staging repo:
> > > >>
> > >
> >
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> > > >>
> > > >> The release candidate tag in git to be voted upon: release-3.6.0-0
> > > >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> > > >>
> > > >> ZooKeeper's KEYS file containing PGP keys we use to sign the
> release:
> > > >> https://www.apache.org/dist/zookeeper/KEYS
> > > >>
> > > >> Please note that this new major release introduces these change in
> the
> > > >> staging area:
> > > >> - the source artifacts package is in zip format
> > > >> - we are releasing a new binary package with the C client (with
> > OpenSSL
> > > >> support)
> > > >> - website preview
> > > >>
> > > >> We are also adding a new JAR: zookeeper-metrics-providers
> > > >>
> > > >> The staging version of the website is:
> > > >>
> > >
> >
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> > > >>
> > > >> Should we release this candidate?
> > > >>
> > > >> Enrico Olivelli
> > >
> > >
> >
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Enrico Olivelli <eo...@gmail.com>.
Alexander,
I have pasted a wrong link in the VOTE email, I am sorry

The good link is
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12326518

You can also see the staged released notes in the website
https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/releasenotes.html

Thank you so much for reporting this issue

Happy testing

Enrico

Il giorno mer 15 gen 2020 alle ore 16:55 Alexander Shraer <sh...@gmail.com>
ha scritto:

> Hi Enrico,
>
> Thank you for driving this release!
>
> I have a question - i believe that Zookeeper-2024 (an order of magnitude
> throughput improvement for mixed workloads) is part of the 3.6.0 release,
> but it isn't mentioned in the release notes or the summary.
> Could you please clarify ?
>
> Thanks,
> Alex
>
>
> On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org> wrote:
>
> > I can't parse Rudy's message, is it an issue with my mail application?
> >
> > -Flavio
> >
> > > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> > >
> > > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> > 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
> > thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3,
> Failures:
> > 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> > org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures:
> 0,
> > Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> > org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures:
> > 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> > org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> > org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> > org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests
> run:
> > 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> > org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> > org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run:
> 1,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> > org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
> > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> > org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
> > Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
> > org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> > testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
> > 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>      at
> >
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> > Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> > org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> > org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> > Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> > org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> > org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> > org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> > org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> > org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> > org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> > org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0,
> > Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> > org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
> > Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> > org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24,
> Failures:
> > 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> > org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests
> run:
> > 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> > org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests
> > run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in
> > org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> > <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> > :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> > /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> > -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202
> ,suspend=y,server=n
> > -Dvisualvm.id=962684532457553
> > -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> > -Dmaven.home=/Applications/IntelliJ
> > IDEA.app/Contents/plugins/maven/lib/maven3
> > -Dclassworlds.conf=/Applications/IntelliJ
> > IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> >
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> > -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> >
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> > IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> > -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
> >  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> > &amp;&amp;
> >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> > -jar
> >
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> > /export/workspace/zookeeper/zookeeper-server/target/surefire
> > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> > surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
> >      0:05.16
> >
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> > -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> >
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> > -jar
> >
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> > /export/workspace/zookeeper/zookeeper-server/target/surefire
> > 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> > surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes
> > for unit test not close correctly, lead successor test stuck
> > > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
> > >> This is a release candidate for 3.6.0.
> > >>
> > >> It is a major release and it introduces a lot of new features, most
> > notably:
> > >> - Built-in data consistency check inside ZooKeeper
> > >> - Allow Followers to host Observers
> > >> - A new feature proposal to ZooKeeper: authentication enforcement
> > >> - Pluggable metrics system for ZooKeeper (and Prometheus.io
> integration)
> > >> - TLS Port unification
> > >> - Audit logging in ZooKeeper servers
> > >> - Improve resilience to network (advertise multiple addresses for
> > members
> > >> of a Zookeeper cluster)
> > >> - Persistent Recursive Watches
> > >> - add an API and the corresponding CLI to get total count of recursive
> > sub
> > >> nodes under a specific path
> > >>
> > >> The full release notes is available at:
> > >>
> > >>
> >
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> > >>
> > >> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0.
> > ***
> > >>
> > >> Source files:
> > >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> > >>
> > >> Maven staging repo:
> > >>
> >
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> > >>
> > >> The release candidate tag in git to be voted upon: release-3.6.0-0
> > >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> > >>
> > >> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
> > >> https://www.apache.org/dist/zookeeper/KEYS
> > >>
> > >> Please note that this new major release introduces these change in the
> > >> staging area:
> > >> - the source artifacts package is in zip format
> > >> - we are releasing a new binary package with the C client (with
> OpenSSL
> > >> support)
> > >> - website preview
> > >>
> > >> We are also adding a new JAR: zookeeper-metrics-providers
> > >>
> > >> The staging version of the website is:
> > >>
> >
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> > >>
> > >> Should we release this candidate?
> > >>
> > >> Enrico Olivelli
> >
> >
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Alexander Shraer <sh...@gmail.com>.
Hi Enrico,

Thank you for driving this release!

I have a question - i believe that Zookeeper-2024 (an order of magnitude
throughput improvement for mixed workloads) is part of the 3.6.0 release,
but it isn't mentioned in the release notes or the summary.
Could you please clarify ?

Thanks,
Alex


On Wed, Jan 15, 2020 at 7:29 AM Flavio Junqueira <fp...@apache.org> wrote:

> I can't parse Rudy's message, is it an issue with my mail application?
>
> -Flavio
>
> > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> >
> > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests run:
> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run: 1,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>      at
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests run:
> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests
> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in
> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202,suspend=y,server=n
> -Dvisualvm.id=962684532457553
> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> -Dmaven.home=/Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3
> -Dclassworlds.conf=/Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> &amp;&amp;
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> -jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire
> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
>      0:05.16
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> -jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire
> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes
> for unit test not close correctly, lead successor test stuck
> > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
> >> This is a release candidate for 3.6.0.
> >>
> >> It is a major release and it introduces a lot of new features, most
> notably:
> >> - Built-in data consistency check inside ZooKeeper
> >> - Allow Followers to host Observers
> >> - A new feature proposal to ZooKeeper: authentication enforcement
> >> - Pluggable metrics system for ZooKeeper (and Prometheus.io integration)
> >> - TLS Port unification
> >> - Audit logging in ZooKeeper servers
> >> - Improve resilience to network (advertise multiple addresses for
> members
> >> of a Zookeeper cluster)
> >> - Persistent Recursive Watches
> >> - add an API and the corresponding CLI to get total count of recursive
> sub
> >> nodes under a specific path
> >>
> >> The full release notes is available at:
> >>
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>
> >> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0.
> ***
> >>
> >> Source files:
> >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>
> >> Maven staging repo:
> >>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>
> >> The release candidate tag in git to be voted upon: release-3.6.0-0
> >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>
> >> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
> >> https://www.apache.org/dist/zookeeper/KEYS
> >>
> >> Please note that this new major release introduces these change in the
> >> staging area:
> >> - the source artifacts package is in zip format
> >> - we are releasing a new binary package with the C client (with OpenSSL
> >> support)
> >> - website preview
> >>
> >> We are also adding a new JAR: zookeeper-metrics-providers
> >>
> >> The staging version of the website is:
> >>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>
> >> Should we release this candidate?
> >>
> >> Enrico Olivelli
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Enrico Olivelli <eo...@gmail.com>.
Flavio,
Rudy's message is like an HTML text inside a plain/text email.
It looks like a problem on Rudy's side.

The issue he is reporting is about running tests.

Rudy
Can you try to run the tests using -Dsurefire-forkcount=1 in order to use
only 1 forked JVM ?
mvn clean install -Pfull-build -Dsurefire-forkcount=1

Enrico

Il giorno mer 15 gen 2020 alle ore 16:29 Flavio Junqueira <fp...@apache.org>
ha scritto:

> I can't parse Rudy's message, is it an issue with my mail application?
>
> -Flavio
>
> > On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> >
> > environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK
> 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test
> thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running
> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in
> org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running
> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in
> org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in
> org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running
> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running
> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in
> org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running
> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in
> org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running
> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests run:
> 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in
> org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in
> org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run: 1,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in
> org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running
> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running
> org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1,
> Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in
> org.apache.zookeeper.ZKUtilTest<br/>[ERROR]
> testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed:
> 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>      at
> org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO]
> Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in
> org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running
> org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in
> org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in
> org.apache.zookeeper.VerGenTest<br/>[INFO] Running
> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running
> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in
> org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running
> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in
> org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running
> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in
> org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running
> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in
> org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in
> org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0,
> Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in
> org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46,
> Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in
> org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24, Failures:
> 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in
> org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests run:
> 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in
> org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests
> run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in
> org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>.....
> <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java
> :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java
> -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202,suspend=y,server=n
> -Dvisualvm.id=962684532457553
> -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper
> -Dmaven.home=/Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3
> -Dclassworlds.conf=/Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf
> -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props
> -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ
> IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ
> IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher
> -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??
>  0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server
> &amp;&amp;
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> -jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire
> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??
>      0:05.16
> /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java
> -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5
> -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar
> -jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar
> /export/workspace/zookeeper/zookeeper-server/target/surefire
> 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp
> surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes
> for unit test not close correctly, lead successor test stuck
> > At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
> >> This is a release candidate for 3.6.0.
> >>
> >> It is a major release and it introduces a lot of new features, most
> notably:
> >> - Built-in data consistency check inside ZooKeeper
> >> - Allow Followers to host Observers
> >> - A new feature proposal to ZooKeeper: authentication enforcement
> >> - Pluggable metrics system for ZooKeeper (and Prometheus.io integration)
> >> - TLS Port unification
> >> - Audit logging in ZooKeeper servers
> >> - Improve resilience to network (advertise multiple addresses for
> members
> >> of a Zookeeper cluster)
> >> - Persistent Recursive Watches
> >> - add an API and the corresponding CLI to get total count of recursive
> sub
> >> nodes under a specific path
> >>
> >> The full release notes is available at:
> >>
> >>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
> >>
> >> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0.
> ***
> >>
> >> Source files:
> >> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
> >>
> >> Maven staging repo:
> >>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
> >>
> >> The release candidate tag in git to be voted upon: release-3.6.0-0
> >> https://github.com/apache/zookeeper/tree/release-3.6.0-0
> >>
> >> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
> >> https://www.apache.org/dist/zookeeper/KEYS
> >>
> >> Please note that this new major release introduces these change in the
> >> staging area:
> >> - the source artifacts package is in zip format
> >> - we are releasing a new binary package with the C client (with OpenSSL
> >> support)
> >> - website preview
> >>
> >> We are also adding a new JAR: zookeeper-metrics-providers
> >>
> >> The staging version of the website is:
> >>
> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
> >>
> >> Should we release this candidate?
> >>
> >> Enrico Olivelli
>
>

Re: [VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by Flavio Junqueira <fp...@apache.org>.
I can't parse Rudy's message, is it an issue with my mail application?

-Flavio

> On 15 Jan 2020, at 15:00, rudy_steiner <ru...@163.com> wrote:
> 
> environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in org.apache.zookeeper.ZKUtilTest<br/>[ERROR] testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed: 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>	at org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO] Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in org.apache.zookeeper.VerGenTest<br/>[INFO] Running org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>..... <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75 /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202,suspend=y,server=n -Dvisualvm.id=962684532457553 -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper -Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??         0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server &amp;&amp; /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5 -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar -jar /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar /export/workspace/zookeeper/zookeeper-server/target/surefire 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??         0:05.16 /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5 -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar -jar /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar /export/workspace/zookeeper/zookeeper-server/target/surefire 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes for unit test not close correctly, lead successor test stuck
> At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
>> This is a release candidate for 3.6.0.
>> 
>> It is a major release and it introduces a lot of new features, most notably:
>> - Built-in data consistency check inside ZooKeeper
>> - Allow Followers to host Observers
>> - A new feature proposal to ZooKeeper: authentication enforcement
>> - Pluggable metrics system for ZooKeeper (and Prometheus.io integration)
>> - TLS Port unification
>> - Audit logging in ZooKeeper servers
>> - Improve resilience to network (advertise multiple addresses for members
>> of a Zookeeper cluster)
>> - Persistent Recursive Watches
>> - add an API and the corresponding CLI to get total count of recursive sub
>> nodes under a specific path
>> 
>> The full release notes is available at:
>> 
>> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>> 
>> *** Please download, test and vote by January 19th 2020, 23:59 UTC+0. ***
>> 
>> Source files:
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>> 
>> Maven staging repo:
>> https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>> 
>> The release candidate tag in git to be voted upon: release-3.6.0-0
>> https://github.com/apache/zookeeper/tree/release-3.6.0-0
>> 
>> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
>> https://www.apache.org/dist/zookeeper/KEYS
>> 
>> Please note that this new major release introduces these change in the
>> staging area:
>> - the source artifacts package is in zip format
>> - we are releasing a new binary package with the C client (with OpenSSL
>> support)
>> - website preview
>> 
>> We are also adding a new JAR: zookeeper-metrics-providers
>> 
>> The staging version of the website is:
>> https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>> 
>> Should we release this candidate?
>> 
>> Enrico Olivelli


Re:[VOTE] Apache ZooKeeper release 3.6.0 candidate 0

Posted by rudy_steiner <ru...@163.com>.
environment: <br/>   * MacOS High Sierra 10.13.1 <br/>   * JDK 1.8.0_172<br/><br/>I try to run junit test on branch-3.6, and unit test thread get stuck, log as follows:<br/><br/>.....<br/>INFO] Running org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 27.797 s - in org.apache.zookeeper.server.SnapshotDigestTest<br/>[INFO] Running org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.718 s - in org.apache.zookeeper.common.TimeTest<br/>[INFO] Tests run: 352, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.425 s - in org.apache.zookeeper.common.X509UtilTest<br/>[INFO] Running org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Running org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.144 s - in org.apache.zookeeper.common.KeyStoreFileTypeTest<br/>[INFO] Running org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.084 s - in org.apache.zookeeper.audit.AuditEventTest<br/>[INFO] Running org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.027 s - in org.apache.zookeeper.common.PEMFileLoaderTest<br/>[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.197 s - in org.apache.zookeeper.common.FileChangeWatcherTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.755 s - in org.apache.zookeeper.audit.StandaloneServerAuditTest<br/>[INFO] Running org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Running org.apache.zookeeper.ZKUtilTest<br/>[ERROR] Tests run: 4, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.194 s &lt;&lt;&lt; FAILURE! - in org.apache.zookeeper.ZKUtilTest<br/>[ERROR] testUnreadableFileInput(org.apache.zookeeper.ZKUtilTest)  Time elapsed: 0.014 s  &lt;&lt;&lt; FAILURE!<br/>java.lang.AssertionError<br/>	at org.apache.zookeeper.ZKUtilTest.testUnreadableFileInput(ZKUtilTest.java:83)<br/><br/>[INFO] Running org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 s - in org.apache.zookeeper.PortAssignmentTest<br/>[INFO] Running org.apache.zookeeper.VerGenTest<br/>[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.747 s - in org.apache.zookeeper.audit.Log4jAuditLoggerTest<br/>[INFO] Tests run: 14, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.327 s - in org.apache.zookeeper.VerGenTest<br/>[INFO] Running org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Running org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.511 s - in org.apache.zookeeper.GetAllChildrenNumberTest<br/>[INFO] Running org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.004 s - in org.apache.zookeeper.RemoveWatchesCmdTest<br/>[INFO] Running org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.861 s - in org.apache.zookeeper.ClientCanonicalizeTest<br/>[INFO] Running org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.155 s - in org.apache.zookeeper.client.ZKClientConfigTest<br/>[INFO] Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 10.74 s - in org.apache.zookeeper.ZooKeeperTest<br/>[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.372 s - in org.apache.zookeeper.ClientRequestTimeoutTest<br/>[INFO] Tests run: 46, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.592 s - in org.apache.zookeeper.RemoveWatchesTest<br/>[INFO] Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 166.152 s - in org.apache.zookeeper.server.quorum.QuorumPeerMainTest<br/>[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.386 s - in org.apache.zookeeper.server.quorum.ReconfigRecoveryTest<br/>[INFO] Tests run: 13, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 416.635 s - in org.apache.zookeeper.server.quorum.QuorumSSLTest<br/>..... <br/><br/><br/>and  I found serveral processes  by ps -ef|grep java :<br/><br/>    0  6809 87919   0  9:28下午 ??         2:13.75 /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:62202,suspend=y,server=n -Dvisualvm.id=962684532457553 -Dmaven.multiModuleProjectDirectory=/export/workspace/zookeeper -Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3 -Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/var/root/Library/Caches/IntelliJIdea2018.2/captureAgent/debugger-agent.jar=file:/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/capture.props -Dfile.encoding=UTF-8 -classpath /Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar org.codehaus.classworlds.Launcher -Didea.version=2018.2.4 test<br/>    0 11582  6809   0  9:35下午 ??         0:00.01 /bin/sh -c cd /export/workspace/zookeeper/zookeeper-server &amp;&amp; /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5 -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar -jar /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar /export/workspace/zookeeper/zookeeper-server/target/surefire 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp surefire_2145165207885893729779tmp<br/>    0 11583 11582   0  9:35下午 ??         0:05.16 /Library/Java/JavaVirtualMachines/jdk1.8.0_172.jdk/Contents/Home/jre/bin/java -Xmx512m -Dtest.junit.threads=8 -Dzookeeper.junit.threadid=5 -javaagent:/var/root/.m2/repository/org/jmockit/jmockit/1.48/jmockit-1.48.jar -jar /export/workspace/zookeeper/zookeeper-server/target/surefire/surefirebooter3509879420266754639.jar /export/workspace/zookeeper/zookeeper-server/target/surefire 2020-01-15T21-28-59_364-jvmRun5 surefire3587429514371015586tmp surefire_2145165207885893729779tmp<br/><br/><br/>I suspect the processes for unit test not close correctly, lead successor test stuck
At 2020-01-15 07:18:25, "Enrico Olivelli" <eo...@gmail.com> wrote:
>This is a release candidate for 3.6.0.
>
>It is a major release and it introduces a lot of new features, most notably:
>- Built-in data consistency check inside ZooKeeper
>- Allow Followers to host Observers
>- A new feature proposal to ZooKeeper: authentication enforcement
>- Pluggable metrics system for ZooKeeper (and Prometheus.io integration)
>- TLS Port unification
>- Audit logging in ZooKeeper servers
>- Improve resilience to network (advertise multiple addresses for members
>of a Zookeeper cluster)
>- Persistent Recursive Watches
>- add an API and the corresponding CLI to get total count of recursive sub
>nodes under a specific path
>
>The full release notes is available at:
>
>https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>
>*** Please download, test and vote by January 19th 2020, 23:59 UTC+0. ***
>
>Source files:
>https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/
>
>Maven staging repo:
>https://repository.apache.org/content/repositories/orgapachezookeeper-1045/
>
>The release candidate tag in git to be voted upon: release-3.6.0-0
>https://github.com/apache/zookeeper/tree/release-3.6.0-0
>
>ZooKeeper's KEYS file containing PGP keys we use to sign the release:
>https://www.apache.org/dist/zookeeper/KEYS
>
>Please note that this new major release introduces these change in the
>staging area:
>- the source artifacts package is in zip format
>- we are releasing a new binary package with the C client (with OpenSSL
>support)
>- website preview
>
>We are also adding a new JAR: zookeeper-metrics-providers
>
>The staging version of the website is:
>https://people.apache.org/~eolivelli/zookeeper-3.6.0-candidate-0/website/
>
>Should we release this candidate?
>
>Enrico Olivelli