[jira] [Created] (ZOOKEEPER-4193) Too many files open when the domain can't be parse.

2021-01-24 Thread Jira
赵延 created ZOOKEEPER-4193:
-

 Summary: Too many files open when the domain can't be parse. 
 Key: ZOOKEEPER-4193
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4193
 Project: ZooKeeper
  Issue Type: Wish
  Components: java client
Affects Versions: 3.4.13
Reporter: 赵延


When use a domain that can't be parse, the scoket file will be create again and 
again, and won't be delete. It will over the file limit.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


Re: [VOTE] Apache ZooKeeper release 3.7.0 candidate 1

2021-01-24 Thread Patrick Hunt
+1. xsum/sig verified. rat ran clean. built and dependency checks are fine.
Tried running some manual clusters and it was successful.

Regards,

Patrick


On Sun, Jan 24, 2021 at 12:11 PM Damien Diederen 
wrote:

>
> Dear all,
>
> This is a second release candidate for ZooKeeper 3.7.0.  Compared to
> RC0, it fixes a tarball generation issue, includes a description of the
> 'whoami' CLI command, and incorporates a contribution to ZooInspector.
>
> ZooKeeper 3.7.0 introduces a number of new features, notably:
>
>   * An API to start a ZooKeeper server from Java (ZOOKEEPER-3874);
>
>   * Quota enforcement (ZOOKEEPER-3301);
>
>   * Host name canonicalization in quorum SASL authentication
> (ZOOKEEPER-4030);
>
>   * Support for BCFKS key/trust store format (ZOOKEEPER-3950);
>
>   * A choice of mandatory authentication scheme(s) (ZOOKEEPER-3561);
>
>   * A "whoami" API and CLI command (ZOOKEEPER-3969);
>
>   * The possibility of disabling digest authentication (ZOOKEEPER-3979);
>
>   * Multiple SASL "superUsers" (ZOOKEEPER-3959);
>
>   * Fast-tracking of throttled requests (ZOOKEEPER-3683);
>
>   * Additional security metrics (ZOOKEEPER-3978);
>
>   * SASL support in the C and Perl clients (ZOOKEEPER-1112,
> ZOOKEEPER-3714);
>
>   * A new zkSnapshotComparer.sh tool (ZOOKEEPER-3427);
>
>   * Notes on how to benchmark ZooKeeper with the YCSB tool
> (ZOOKEEPER-3264).
>
> The release notes are available here:
>
>
> https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/website/releasenotes.html
>
> https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617
>
> *** Please download, test and vote by January 31st 2020, 23:59 UTC+0. ***
>
> Source files:
>
>   https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/
>
> Maven staging repo:
>
>
> https://repository.apache.org/content/repositories/orgapachezookeeper-1066/
>
> The release candidate tag in git to be voted upon: release-3.7.0-1
>
>   https://github.com/apache/zookeeper/tree/release-3.7.0-1
>
> ZooKeeper's KEYS file containing PGP keys we use to sign the release:
>
>   https://www.apache.org/dist/zookeeper/KEYS
>
> The staging version of the website is:
>
>
> https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/website/
>
> Should we release this candidate?
>
> Damien Diederen
>


[VOTE] Apache ZooKeeper release 3.7.0 candidate 1

2021-01-24 Thread Damien Diederen


Dear all,

This is a second release candidate for ZooKeeper 3.7.0.  Compared to
RC0, it fixes a tarball generation issue, includes a description of the
'whoami' CLI command, and incorporates a contribution to ZooInspector.

ZooKeeper 3.7.0 introduces a number of new features, notably:

  * An API to start a ZooKeeper server from Java (ZOOKEEPER-3874);
  
  * Quota enforcement (ZOOKEEPER-3301);
  
  * Host name canonicalization in quorum SASL authentication (ZOOKEEPER-4030);

  * Support for BCFKS key/trust store format (ZOOKEEPER-3950);

  * A choice of mandatory authentication scheme(s) (ZOOKEEPER-3561);

  * A "whoami" API and CLI command (ZOOKEEPER-3969);

  * The possibility of disabling digest authentication (ZOOKEEPER-3979);
  
  * Multiple SASL "superUsers" (ZOOKEEPER-3959);
  
  * Fast-tracking of throttled requests (ZOOKEEPER-3683);

  * Additional security metrics (ZOOKEEPER-3978);

  * SASL support in the C and Perl clients (ZOOKEEPER-1112, ZOOKEEPER-3714);

  * A new zkSnapshotComparer.sh tool (ZOOKEEPER-3427);

  * Notes on how to benchmark ZooKeeper with the YCSB tool (ZOOKEEPER-3264).

The release notes are available here:
  
  
https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/website/releasenotes.html
  
https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310801&version=12346617

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

Source files:

  https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/

Maven staging repo:

  https://repository.apache.org/content/repositories/orgapachezookeeper-1066/

The release candidate tag in git to be voted upon: release-3.7.0-1

  https://github.com/apache/zookeeper/tree/release-3.7.0-1

ZooKeeper's KEYS file containing PGP keys we use to sign the release:

  https://www.apache.org/dist/zookeeper/KEYS

The staging version of the website is:

  https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-1/website/

Should we release this candidate?

Damien Diederen


[jira] [Created] (ZOOKEEPER-4192) Fix typos

2021-01-24 Thread KangZhiDong (Jira)
KangZhiDong created ZOOKEEPER-4192:
--

 Summary: Fix typos
 Key: ZOOKEEPER-4192
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4192
 Project: ZooKeeper
  Issue Type: Improvement
  Components: server
Reporter: KangZhiDong






--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (ZOOKEEPER-4191) Missing executable bits in source release tarball

2021-01-24 Thread Damien Diederen (Jira)
Damien Diederen created ZOOKEEPER-4191:
--

 Summary: Missing executable bits in source release tarball
 Key: ZOOKEEPER-4191
 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4191
 Project: ZooKeeper
  Issue Type: Bug
Reporter: Damien Diederen
Assignee: Damien Diederen


[~symat] noticed that the source tarball for 3.7.0rc0 [is missing executable 
bits|https://mail-archives.apache.org/mod_mbox/zookeeper-dev/202101.mbox/%3cCAAMoRKLMf7tLosgqyiwYfFxXq-Zmiz=0oTGDijX5M=mhdf_...@mail.gmail.com%3e].

[~ztzg] noticed that this [can be worked 
around|https://mail-archives.apache.org/mod_mbox/zookeeper-dev/202101.mbox/%3C875z3n9w75.fsf%40crosstwine.com%3E]
 by reinstating the "old" version of the {{maven-assembly-plugin}}, which had 
been aligned in ZOOKEEPER-3833.

This ticket will concentrate on the temporary workaround, so that 3.7.0 can be 
released.





--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[CANCELLED] [VOTE] Apache ZooKeeper release 3.7.0 candidate 0

2021-01-24 Thread Damien Diederen


Dear Enrico, all,

I am canceling this vote and release candidate.

I am planning to prepare a new one in the coming days—but feel free to
continue providing feedback as I don't expect rc1 to be very different.

Enrico wrote:

> So I prefer that we fix this issue, especially now that we found a quick fix

Noted.  (But I think you misspelt "workaround" :)

> -1
>
> Damien can you please send a patch?  I will review ASAP

Sure.

Cheers (kinda), -D


--8<--- original message ->8---

>> Hi Máté, Enrico, all,
>>
>> Thank you for the check.
>>
>> 3.6.2 was okay.
>>
>> It appears to be an issue with maven-assembly-plugin and the descriptor
>> used for the source bundle.
>>
>> This is the second issue I spot which is related to ZOOKEEPER-3833, "Do
>> Not Override Plugin Versions from Apache Parent POM."  (I very much
>> agree in principle, but that ground seems a bit shaky :)
>>
>> Reverting to version 3.1.0 makes the issue disappear:
>>
>
> So I prefer that we fix this issue, especially now that we found a quick fix

I think you misspelt "workaround" :)

> -1
>
> Damien can you please send a patch?
> I will review ASAP
>
> Thanks
>
>
> Enrico
>
>
>
>> --- a/pom.xml
>> +++ b/pom.xml
>> @@ -690,6 +690,7 @@
>>  
>>org.apache.maven.plugins
>>maven-assembly-plugin
>> +  3.1.0
>>  
>>  
>>org.apache.maven.plugins
>>
>> I haven't investigated further, but will have a closer look soon.
>>
>> Cheers (well…), -D
>>
>> P.-S. — Thank you Justin for filing ZOOKEEPER-4188.
>>
>>
>>
>> Enrico Olivelli  writes:
>> > Mate,
>> > Thanks foe pointing it out
>> > If you build from sources and you pick the rwsulting binaries tarball and
>> > unpack it, does it work?
>> > Running bin/ex.sh from the sources is probably only a developer feature
>> and
>> > it does not impact production usage.
>> >
>> > Is the problem present even on 3.6.2?
>> >
>> > Enrico
>> >
>> > Il Sab 23 Gen 2021, 17:13 Szalay-Bekő Máté 
>> ha
>> > scritto:
>> >
>> >> I just ran a few small manual upgrade tests, 3.5.9 -> 3.7.0 and 3.6.2 ->
>> >> 3.7.0) using https://github.com/symat/zk-rolling-upgrade-test
>> >> Both tests succeeded (which is great! :) ), however I had to do a manual
>> >> fix: my test scripts were unable to start the 3.7.0 servers,
>> >> because zkServer.sh didn't have execute permissions.
>> >>
>> >> It looks this is only about the source tar.gz release file (which is our
>> >> main deliverable). When I downloaded the binary tar.gz file, or checked
>> out
>> >> the release tag, then the files had the execution tag. See below.
>> >>
>> >> I don't know if this is officially a blocker or not, PMC members please
>> >> advise here.
>> >> (my non-binding opinion is that this is a blocker unfortunately...)
>> >>
>> >> Regards,
>> >> Mate
>> >>
>> >> More info:
>> >>
>> >> $  git clone --depth 1 --branch release-3.7.0-0 g...@github.com:
>> >> apache/zookeeper.git
>> >> $  ls -la zookeeper/bin/*.sh
>> >> -rwxr-xr-x 1 symat symat  2066 Jan 23 16:58 zookeeper/bin/zkCleanup.sh
>> >> -rwxr-xr-x 1 symat symat  1620 Jan 23 16:58 zookeeper/bin/zkCli.sh
>> >> -rwxr-xr-x 1 symat symat  3690 Jan 23 16:58 zookeeper/bin/zkEnv.sh
>> >> -rwxr-xr-x 1 symat symat  4559 Jan 23 16:58
>> >> zookeeper/bin/zkServer-initialize.sh
>> >> -rwxr-xr-x 1 symat symat 11561 Jan 23 16:58 zookeeper/bin/zkServer.sh
>> >> -rwxr-xr-x 1 symat symat  1377 Jan 23 16:58
>> >> zookeeper/bin/zkSnapShotToolkit.sh
>> >> -rwxr-xr-x 1 symat symat  1374 Jan 23 16:58
>> >> zookeeper/bin/zkSnapshotComparer.sh
>> >> -rwxr-xr-x 1 symat symat  1385 Jan 23 16:58
>> >> zookeeper/bin/zkTxnLogToolkit.sh
>> >>
>> >> $ wget
>> >>
>> >>
>> https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/apache-zookeeper-3.7.0-bin.tar.gz
>> >> $ tar xzvf  apache-zookeeper-3.7.0-bin.tar.gz
>> >> $ ls -la apache-zookeeper-3.7.0-bin/bin/*.sh
>> >> -rwxr-xr-x 1 symat symat  2066 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkCleanup.sh
>> >> -rwxr-xr-x 1 symat symat  1620 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkCli.sh
>> >> -rwxr-xr-x 1 symat symat  3690 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkEnv.sh
>> >> -rwxr-xr-x 1 symat symat  4559 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkServer-initialize.sh
>> >> -rwxr-xr-x 1 symat symat 11561 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkServer.sh
>> >> -rwxr-xr-x 1 symat symat  1377 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkSnapShotToolkit.sh
>> >> -rwxr-xr-x 1 symat symat  1374 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkSnapshotComparer.sh
>> >> -rwxr-xr-x 1 symat symat  1385 Jan 22  2020
>> >> apache-zookeeper-3.7.0-bin/bin/zkTxnLogToolkit.sh
>> >>
>> >> $ wget
>> >>
>> >>
>> https://people.apache.org/~ddiederen/zookeeper-3.7.0-candidate-0/apache-zookeeper-3.7.0.tar.gz
>> >> $ tar xzvf  apache-zookeeper-3.7.0.tar.gz
>> >> $ ls -la apache-zookeeper-3.7.0/bin/*.sh
>> >> -rw-r--r--