-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Update ZooKeeper to 3.6.2 and Curator to 5.1.0 #8590
Changes from all commits
add680a
47cbe33
b33b9ba
60835b1
e30bf32
d01491f
fe2f2db
9e62f7c
5440699
d887b9e
39143a7
a90fe83
c8f571d
624441f
58a5dff
a7220ec
c3a9c2d
d604fc3
40e5275
dffbfb4
930f84d
c2015a8
bf3e784
822b1dc
8b2c460
957ea1e
10487e0
379dac7
a300cac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -84,7 +84,16 @@ | |
<classifier>tests</classifier> | ||
<scope>test</scope> | ||
</dependency> | ||
|
||
<dependency> | ||
<groupId>io.dropwizard.metrics</groupId> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain why do we need this? I failed to see this dependency was used here. The same question apply to the other dependency. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. because from zk 3.6 onwards the "zookeeper" Maven artifact does not import those dependencies anymore to the dependant projects. In Pulsar we are also running the ZooKeeper server (both for production and for tests) and so we need to explicitly add those two jar to the build, otherwise the ZooKeeper server won't start There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be good to leave a comment with the reason we're adding these, otherwise down the road it will be difficult to remember the rationale. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sijie PTAL the description was added on the new deps |
||
<artifactId>metrics-core</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.xerial.snappy</groupId> | ||
<artifactId>snappy-java</artifactId> | ||
<scope>test</scope> | ||
</dependency> | ||
<!-- | ||
junit is a runtime dependency of zookeeper tests, so only | ||
add this dependency here. | ||
|
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.
Bookkeeper uses Zookeeper 3.6.2 and dropwizard 3.1.0, I think it makes sense to keep dependency versions in sync to avoid surprises later
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.
@dlg99 I can't remember why I had to make this bump.
Probably it is the same version as in ZK.
I would prefer to upgrade this dep in BK 4.13.