-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 #1453
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
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
symat
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice PR! We are building HBase (and many other components now) with ZooKeeper 3.5.x, and it works very well with the whole stack. For us the SSL support in ZooKeeper 3.5 was also very important. I think ZooKeeper 3.4 will be announced to be EOL soon, the details are just now discussed on the dev ZooKeeper mailing list.
I compared your PR with our internal changes we had to make to be ZooKeeper 3.5 compatible. I found only a single issue, see my comment below.
| <thrift.version>0.12.0</thrift.version> | ||
| <zookeeper.version>3.4.14</zookeeper.version> | ||
| <!-- What ZooKeeper 3.4.x depends on and nothing more --> | ||
| <zookeeper.version>3.5.7</zookeeper.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we also update the jline version? I think it was added because of zookeeper, see https://issues.apache.org/jira/browse/HBASE-20108
zookeeper 3.5.7 is using jline 2.11
however, if we increment the JLine version, then the assembly:single maven target will fail, as the license part in JLine pom changed a bit (they named it 'The BSD License' instead of 'BSD License'). To make it work, we need to add a new supplement to supplemental-models.xml like:
<supplement>
<project>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<name>JLine</name>
<version>2.11</version>
<licenses>
<license>
<name>BSD License</name>
<url>http://www.opensource.org/licenses/bsd-license.php</url>
<distribution>repo</distribution>
</license>
</licenses>
</project>
</supplement>
|
Trigger the build again to see if it could pass this time. And for the jline change, I'm fine with doing it here or in another issue. |
|
🎊 +1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
busbey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the jline changes in this PR.
|
💔 -1 overall
This message was automatically generated. |
|
Can 3.5.7 client talk to a 3.4 ensemble and vice-versa? Are their compatibility issues? Would be good to note in release note for this JIRA. Thanks. |
|
💔 -1 overall
This message was automatically generated. |
update apache hbase
| // make sure none of regionserver threads is alive. | ||
| UTIL.waitFor(30_000, () -> | ||
| UTIL.getMiniHBaseCluster().getLiveRegionServerThreads().isEmpty()); | ||
| // Start up everything again |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a rs all down check here to make the testcase stable.
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
saintstack
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have outstanding question above otherwise LGTM.
|
Hi @saintstack , I just noticed your question on the jira, and saw you also asked here: yes, 3.5.7 client is able to communicate with an 3.4.x ensemble. But new features should not be used. |
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
* HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 * HBASE-24132 Upgrade to Apache ZooKeeper 3.5.7 Co-authored-by: 姜建飞 10222269 <[email protected]> Signed-off-by: Mate Szalay-Beko <[email protected]> Signed-off-by: Norbert Kalmar <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Duo Zhang <[email protected]>
No description provided.