- 14 Sep, 2020 1 commit
-
-
Petter A. Urkedal authored
After upgrading to Zookeeper 3.6, Nagios tests for zk_avg_latency started failing due to floating point metrics being compared as strings. Author: Petter A. Urkedal <paurkedal@gmail.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1452 from paurkedal/check_zookeeper-float
-
- 03 Sep, 2020 1 commit
-
-
Enrico Olivelli authored
ZOOKEEPER-3924: Netty and JLine Licenses are inconsistent with jars in the binary tarball in 3.6.2 rc0 - Fix license file names - Remove legacy pom.template file (for Ant based build ?) Author: Enrico Olivelli <eolivelli@apache.org> Reviewers: andor@apache.org Closes #1449 from eolivelli/fix/ZOOKEEPER-3924-netty-lic
-
- 27 Aug, 2020 1 commit
-
-
https://ci-hadoop.apache.org/view/ZooKeeper/Enrico Olivelli authored
Author: Enrico Olivelli <eolivelli@apache.org> Reviewers: Christopher Tubbs <ctubbsii@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1440 from eolivelli/fix/ZOOKEEPER-3801-2
-
- 24 Aug, 2020 1 commit
-
-
Sankalp Bhatia authored
Currently, the documentation for this property just mentions TBD (check https://zookeeper.apache.org/doc/r3.5.7/zookeeperAdmin.html). I believe this was ignored until versions 3.5.7 (https://issues.apache.org/jira/browse/ZOOKEEPER-3674) and a fix was made. It will be good to add some documentation around it. Author: Sankalp Bhatia <sankalpbhatia92@gmail.com> Author: Sankalp <sankal@amazon.com> Reviewers: Christopher Tubbs <ctubbsii@apache.org>, Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1405 from sankalpbhatia/master
-
- 21 Aug, 2020 1 commit
-
-
odidev authored
- Upgrade Netty to its latest version 4.1.50.Final which includes both security fixes and AArch64 performance improvements Refer release notes for detail: https://netty.io/news/2020/05/13/4-1-50-Final.html - Upgraded surefire to 3.0.0-M5 due to compatibility Author: odidev <odidev@puresoftware.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1428 from odidev/netty_upgrade
-
- 14 Aug, 2020 1 commit
-
-
Andor Molnar authored
Recently I noticed some weird null pointer exception issues during compile in out new builds. I usually resolve this by a full "git clean" locally, so I added it to the Jenkinsfiles too. Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1431 from anmolnar/ZOOKEEPER-3896
-
- 12 Aug, 2020 1 commit
-
-
Tamas Penzes authored
…rade Last changes on sub-components which need to be build every time and re-enable deprecation check for the builds. Change-Id: Iebf83d7727d9d7535b367613d262800ad6331fa7 Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: eolivelli@apache.org, andor@apache.org Closes #1424 from tamaashu/ZOOKEEPER-3862
-
- 08 Aug, 2020 1 commit
-
-
Andor Molnar authored
ZOOKEEPER-3905: Race condition causes sessions to be created for clients even though their certificate authentication has failed Netty channel doesn't get closed if authentication fails after a successful SSL handshake. We need a custom authentication provider in order to trigger this, because the default implementation does the same check as for the SSL handshake. Hence it never fails. Unit test added to make sure client is not able to connect. Target branches: master, 3.6, 3.5 (will create separate PR for 3.5) Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1422 from anmolnar/ZOOKEEPER-3905
-
- 07 Aug, 2020 1 commit
-
-
Tamas Penzes authored
Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: Norbert Kalmar <nkalmar@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1423 from tamaashu/ZOOKEEPER-3854
-
- 06 Aug, 2020 2 commits
-
-
ZWShuai91 authored
Author: ZWShuai91 <17610028856@163.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org> Closes #1396 from ZWShuai91/ZOOKEEPER-3883
-
Tamas Penzes authored
Change-Id: I511cb610e269b502e946f52d152db7dcf6d2f2d4 Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org> Closes #1421 from tamaashu/ZOOKEEPER-3855
-
- 04 Aug, 2020 1 commit
-
-
Tamas Penzes authored
Sub-task of ZOOKEEPER-3732, updating jUnit to 5.6.2 in zookeeper-server sub-component. Change-Id: I1fc2a7f860eae0f1d285cb278f6eca7a3b947695 Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: Mate Szalay-Beko <symat@apache.org>, Norbert Kalmar <nkalmar@apache.org> Closes #1417 from tamaashu/ZOOKEEPER-3872
-
- 31 Jul, 2020 1 commit
-
-
Tudor Bosman authored
See the comments in the JIRA issue. Author: Tudor Bosman <tudor@rockset.com> Reviewers: Mate Szalay-Beko <symat@apache.org>, Damien Diederen <dd@crosstwine.com>, Enrico Olivelli <eolivelli@apache.org> Closes #1403 from tudor/htlocking1
-
- 29 Jul, 2020 4 commits
-
-
Enrico Olivelli authored
https://issues.apache.org/jira/browse/ZOOKEEPER-3895 Author: Enrico Olivelli <eolivelli@apache.org> Reviewers: tison <wander4096@gmail.com>, Mate Szalay-Beko <symat@apache.org> Closes #1407 from eolivelli/fix/ZOOKEEPER-3895
-
Mohammad Arshad authored
Modified host and IP parsing logic for IPV6 Author: Mohammad Arshad <arshad@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1395 from arshadmohammad/ZOOKEEPER-3876
-
Mohammad Arshad authored
…on is not valid" for insufficient permissions Author: Mohammad Arshad <arshad@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1404 from arshadmohammad/ZOOKEEPER-3891-master
-
Andor Molnar authored
Further improvements to our Jenkinsfiles. Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1416 from anmolnar/ZOOKEEPER-3896
-
- 28 Jul, 2020 1 commit
-
-
Alexey.Saltanov authored
SocketChannel.connect() can throw different kind of exceptions but ClientCnxnSocketNIO.connect() handles only IOException. This could lead to FD leak when socked is opened but is not connected. We should handle some additional exception classes and close the socket. Author: Alexey.Saltanov <Alexey.Saltanov@billing.ru> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1410 from saltos/ZOOKEEPER-3112
-
- 27 Jul, 2020 1 commit
-
-
Andor Molnar authored
PollSCM trigger triggers a build every time it scans the ZooKeeper repo regardless the branch pointer has been changed or not. Instead, I try to use the built-in 'Scan Multibranch Pipeline' instead which should be good for the same purpose. Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1415 from anmolnar/ZOOKEEPER-3896
-
- 24 Jul, 2020 2 commits
-
-
Andor Molnar authored
Looks like that PollSCM trigger will trigger another build on the same ref if other builds haven't completed rather than haven't started. I change the polling interval to hourly to let other builds finish in time. Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1413 from anmolnar/ZOOKEEPER-3896_2
-
Shyam Sundar J authored
I have refactored few for loops that perform just some filtering and collections Author: Shyam Sundar J <shyamsundarcoolz@gmail.com> Reviewers: eolivelli@apache.org, andor@apache.org Closes #1311 from severussundar/ZOOKEEPER-3415 and squashes the following commits: f07461cd7 [Shyam Sundar J] Merge branch 'master' into ZOOKEEPER-3415 78ed4c8ec [Shyam Sundar J] removing extra whitespaces and newlines 6fd7751de [Shyam Sundar J] removing unused imports and tabs cb133fd33 [Shyam Sundar J] Merge branch 'master' of https://github.com/apache/zookeeper into ZOOKEEPER-3415 3f9a39a62 [Shyam Sundar J] ZOOKEEPER-3415 :convert internal logic to use java8 streams
-
- 23 Jul, 2020 1 commit
-
-
Andor Molnar authored
As part of the new CI instance migration we wanted to take advantage of Jenkinsfile based pipelines. From now on we're able to script and source control our main Jenkins settings. This patch only adding the Jenkinsfile itself to all major branches: master, branch-3.6 and branch-3.5. Once it's in I'll create the Jenkins job which will use it. Currently I have a testing job based on my ZK fork: https://ci-hadoop.apache.org/view/ZooKeeper/job/zookeeper-master-maven-multipipeline/ Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1409 from anmolnar/ZOOKEEPER-3896
-
- 17 Jul, 2020 1 commit
-
-
Kent R. Spillner authored
Add comment at bottom of ZOO_ERRORS reminding developers to also update zerror(int) when adding or changing values. Suggested by phunt in https://github.com/apache/zookeeper/pull/575#issuecomment-406356144. Signed-off-by: Kent R. Spillner <kspillneracm.org> Author: Kent R. Spillner <kspillner@acm.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Benjamin Reed <breed@apache.org> Closes #581 from sl4mmy/zookeeper-3101
-
- 13 Jul, 2020 1 commit
-
-
Mohammad Arshad 72626 authored
Author: Mohammad Arshad 72626 <mohammad.arshad@huawei.com> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1398 from arshadmohammad/ZOOKEEPER-3878-master
-
- 30 Jun, 2020 1 commit
-
-
Tamas Penzes authored
Sub-task of ZOOKEEPER-3732, updating jUnit to 5.6.2 in zookeeper-it sub-component. Change-Id: I495a1516c07bc597558719030a0d585bc7d4f7eb Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1386 from tamaashu/ZOOKEEPER-3852
-
- 24 Jun, 2020 1 commit
-
-
Jie Huang authored
Author: Jie Huang <jiehuang@fb.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Michael Han <hanm@apache.org> Closes #1379 from jhuan31/ZOOKEEPER-3859
-
- 19 Jun, 2020 1 commit
-
-
Mate Szalay-Beko authored
In the fix of ZOOKEEPER-3829 I accidentally changed a public constructor of ZooKeeper server. I didn’t realize Curator is using it for testing (and maybe other Apache projects are doing so as well). In this PR I restore the original constructor for master and branch-3.6. For branch-3.5 I will submit an other PR, that will make it compatible with e.g. Curator 4.3. Author: Mate Szalay-Beko <symat@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org> Closes #1382 from symat/ZOOKEEPER-3865
-
- 16 Jun, 2020 1 commit
-
-
Tamas Penzes authored
First sub-task of ZOOKEEPER-3732 Update jUnit to 5.6. Updating jUnit to 5.6.2 without code changes. Since many jUnit resources got deprecated I had to switch off the check for deprecation which has to be enabled again in a later step. Change-Id: Ib152ab085c3f3ed8fec7f317d33a68f43d14735f Author: Tamas Penzes <tamaas@cloudera.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1372 from tamaashu/ZOOKEEPER-3850
-
- 10 Jun, 2020 1 commit
-
-
Norbert Kalmar authored
I think we will need to push this to both master and branch-3.6. Author: Mate Szalay-Beko <symat@apache.org> Reviewers: Norbert Kalmar <nkalmar@apache.org> Closes #1376 from symat/rat-fix
-
- 08 Jun, 2020 3 commits
-
-
Jordan Zimmerman authored
ZooKeeper has many external libraries that are dependent on staying compatible. For example, Apache Curator. This new module will be used to add compatibility tests for any third party library, tool, etc. that we want to ensure maintains compatibility. The module is configured with Maven not to install/deploy so it's only for testing purposes. An initial test using Apache Curator is added. Author: Jordan Zimmerman <jordan@jordanzimmerman.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1369 from Randgalt/ZOOKEEPER-3831-add-compatibility-test-module
-
Jie Huang authored
There are useful metrics in a cluster with a large number of observes: INFLIGHT_SNAP_COUNT INFLIGHT_DIFF_COUNT Author: Jie Huang <jiehuang@fb.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1374 from jhuan31/ZOOKEEPER-3856
-
Jie Huang authored
Author: Jie Huang <jiehuang@fb.com> Reviewers: Michael Han <hanm@apache.org>, Andor Molnar <andor@apache.org>, Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1365 from jhuan31/ZOOKEEPER-3845
-
- 29 May, 2020 1 commit
-
-
Mate Szalay-Beko authored
In four different Jira tickets (ZOOKEEPER-3829, ZOOKEEPER-3830, ZOOKEEPER-3814, ZOOKEEPER-3842) we saw different errors when dynamic reconfig was disabled and we used rolling restart to change the quorum membership configuration. These rolling restart sequences was working fine on 3.4 but caused errors in 3.5 or 3.6. In worst case the rolling restart leads to the scenario that we had an elected leader which was up but unable to commit any changes. This happens, when the quorum is extended with a new member in the following sequence: * start server.1, server.2, server.3 (with config: 1,2,3) * start server.4 (with config 1,2,3,4) * stop server.1, then restart it with config 1,2,3,4 * stop server.2, then restart it with config 1,2,3,4 * stop server.3, then restart it with config 1,2,3,4 * at this point leader is server.4, but it can not commit any transaction An other error we saw was when we changed a host name of an existing member (removing server.5 and add a new host as server.6). In this case we found in the logs of the new server (server.6) that it is still tried to connect to the old invalid server (server.5), although it was missing from it's config. The same problem remained even after making a full rolling-restart on all the nodes. In this patch I try to fix these issues without breaking anything. The patch contains the following changes: * We are making sure that neither the committed, nor the last seen config gets updated if dynamic reconfig is disabled. * It is not possible now to start the leader without the ability of committing transaction, when dynamic reconfig is disabled (this is only needed to avoid a reconfig edge-case). * I added a testcase simulating the enablement of dynamic reconfig using rolling restart * I added a few more unit tests to cover rolling restart scenarios. (the tests are failing without the patch but succeeding after applying it). * The enablement / disablement of reconfig is getting initialized now in the QuorumPeer and gets propagated to the other classes. This was needed for the rolling restart tests to be able to enable/disable reconfig only for the newly created servers without affecting the servers running already in the same JVM. I also tested the changes with docker, using: https://github.com/symat/zookeeper-docker-test target branches: 3.5, 3.6, master Author: Mate Szalay-Beko <symat@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org> Closes #1356 from symat/ZOOKEEPER-3829
-
- 27 May, 2020 2 commits
- 21 May, 2020 2 commits
-
-
Andor Molnar authored
This issue has been reported by a user who wanted to use a cert that contains SAN entries that are not of type DNS or IP. I've come across the following ticket in http client project which seems to be related: https://issues.apache.org/jira/browse/HTTPCLIENT-1906 This is the backport of the fix. Original patch: https://github.com/apache/httpcomponents-client/commit/56cc24525e5ba2a5ef8fa0de2385687e83589a71 Target versions: 3.5, 3.6, 3.7 Author: Andor Molnar <andor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org> Closes #1353 from anmolnar/ZOOKEEPER-3832
-
Norbert Kalmar authored
Fix path that leads to the apidocs. I will manually correct the already generated paths in asf-site after this has been merged. This PR needs to land on master, 3.6 and 3.5 Author: Norbert Kalmar <nkalmar@apache.org> Reviewers: Mate Szalay-Beko <symat@apache.org> Closes #1362 from nkalmar/master
-
- 20 May, 2020 1 commit
-
-
David Mollitor authored
Author: David Mollitor <dmollitor@apache.org> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Norbert Kalmar <nkalmar@apache.org> Closes #1355 from belugabehr/ZOOKEEPER-3834
-
- 17 May, 2020 2 commits
-
-
Damien Diederen authored
Some environments experience high DNS load because of the name resolutions introduced by [ZOOKEEPER-1355](https://issues.apache.org/jira/browse/ZOOKEEPER-1355). This patch allows clients to set a minimum delay to observe between "routine" resolutions using a `zoo_set_servers_resolution_delay` API function. An application can influence the rate of polling via its `delay_ms` parameter: when set to a value greater than zero, the client skips most "routine" resolutions which would have happened in a window of that many milliseconds since the last successful one. Setting `delay_ms` to `0` disables the new logic, reverting to the default behavior. Setting it to `-1` disables network resolutions during normal operation (but not, e.g., on connection loss). Author: Damien Diederen <dd@crosstwine.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Mate Szalay-Beko <symat@apache.org>, Suhas Dantkale Closes #1068 from ztzg/ZOOKEEPER-1998-throttle-dns-resolutions
-
tison authored
1. Extract ZKWatchManager to single file 2. Move ZKWatchManager instance to ClientCnxn in order to eliminate cycle dependency 3. let `ZooKeeper` syncs a copy of default watcher, in order to reduce dependencies to `getWatchManager()` Author: tison <wander4096@gmail.com> Reviewers: Enrico Olivelli <eolivelli@apache.org>, Andor Molnar <andor@apache.org> Closes #1095 from TisonKun/ZOOKEEPER-837
-