-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-16579. Upgrade to Curator 4.2.0 and ZooKeeper 3.5.5 #1656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Change-Id: Ibe7cf12760227a9de56fbcc417631880ad6814da
…er 3.5.5 - Add a static initializer for the unit tests using ZooKeeper to enable the four-letter-words diagnostic telnet commands. (this is an interface that become disabled by default, so to keep the ZooKeeper 3.4.x behavior we enabled it for the tests) - Also fix ZKFailoverController to look for relevant fail-over ActiveAttempt records. The new ZooKeeper seems to respond quicker during the fail-over tests than the ZooKeeper, so we made sure to catch all the relevant records by adding a new parameter to ZKFailoverontroller.waitForActiveAttempt().
LGTM |
ZooKeeper 3.5.6 just got released, I gave it a try. If something goes wrong, I will revert. I don't think the official announcement has been made, but the new ZooKeeper is already available on Maven Central. It contains some minor fixes and improvements, plus some CVE fixes. See the release note: https://github.com/apache/zookeeper/blob/branch-3.5.6/zookeeper-docs/src/main/resources/markdown/releasenotes.md |
💔 -1 overall
This message was automatically generated. |
Looks like the build succeeded (the only Findbugs issue was introduced by an independent recent commit of YARN-9773) |
+1 |
Quick q: I'm seeing TestZKFailoverController failures on hadoop-common test runs on a jenkins server. Does this change it or are the failures there all on our side? |
do you see this test to fail on the current apache trunk branch? |
think this is a branch without that patch in; I'll look more closely. thanks |
…). Contributed by Norbert Kalmár, Mate Szalay-Beko * HADOOP-16579 - Upgrade to Apache Curator 4.2.0 and ZooKeeper 3.5.5 - Add a static initializer for the unit tests using ZooKeeper to enable the four-letter-words diagnostic telnet commands. (this is an interface that become disabled by default, so to keep the ZooKeeper 3.4.x behavior we enabled it for the tests) - Also fix ZKFailoverController to look for relevant fail-over ActiveAttempt records. The new ZooKeeper seems to respond quicker during the fail-over tests than the ZooKeeper, so we made sure to catch all the relevant records by adding a new parameter to ZKFailoverontroller.waitForActiveAttempt(). Co-authored-by: Norbert Kalmár <nkalmar@cloudera.com>
…). Contributed by Norbert Kalmár, Mate Szalay-Beko * HADOOP-16579 - Upgrade to Apache Curator 4.2.0 and ZooKeeper 3.5.5 - Add a static initializer for the unit tests using ZooKeeper to enable the four-letter-words diagnostic telnet commands. (this is an interface that become disabled by default, so to keep the ZooKeeper 3.4.x behavior we enabled it for the tests) - Also fix ZKFailoverController to look for relevant fail-over ActiveAttempt records. The new ZooKeeper seems to respond quicker during the fail-over tests than the ZooKeeper, so we made sure to catch all the relevant records by adding a new parameter to ZKFailoverontroller.waitForActiveAttempt(). Co-authored-by: Norbert Kalmár <nkalmar@cloudera.com>
In this PR we upgraded the Apache Curator to 4.0.2 and Apache ZooKeeper to
3.5.53.5.6.While the new Curator and ZooKeeper versions are mostly backward-compatible with the old ones, we encountered a few minor issues still. So far the following changes have been made:
ZKFailoverController
to look for relevant fail-over ActiveAttempt records. The new ZooKeeper seems to respond quicker during the fail-over tests than the old ZooKeeper, so we made sure to catch all the relevant records by adding a new parameter toZKFailoverontroller.waitForActiveAttempt()
.Update 1:
3.5.53.5.6, so I choose a random open port before starting the ZooKeeper server in the Hadoop code)Update 2: