Zookeeper version is updated.#8363
Conversation
|
This is a somewhat duplicate of #8177, but maybe still worth going ahead and doing since the other is tied up in the curator issue. After #7998 and #8306 (which was just merged and the cause of your conflicts), Could you please fix conflicts update the zookeeper entry 'version' and 'notice' text in licenses.yaml? For the notice, it looks like changing to: |
2ea099f to
1dd788e
Compare
|
@clintropolis I've updated my PR. |
There was a problem hiding this comment.
Due to https://issues.apache.org/jira/browse/ZOOKEEPER-3367, It looks like we need to exclude spotbugs-annotations from the zookeeper dependency since it is LGPL licensed (which is the reason all of the tests on this PR are failing).
<exclusion>
<groupId>com.github.spotbugs</groupId>
<artifactId>spotbugs-annotations</artifactId>
</exclusion>
in the root pom.xml entry for zookeeper.
Additionally, for some reason I don't entirely understand, updating the zk version also breaks materialized-view-maintenance and materialized-view-selection, which need this:
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<scope>test</scope>
</dependency>
added to extensions-contrib/materialized-view-maintenance/pom.xml and extensions-contrib/materialized-view-selection/pom.xml respectively.
After these changes, everything was able to compile and the license check was able to pass successfully for me.
…ct successfully build.
|
I've updated my PR. |
| notices: | ||
| - zookeeper: | | ||
| Apache ZooKeeper | ||
| Copyright 2009-2012 The Apache Software Foundation |
There was a problem hiding this comment.
Oops, you've updated the notice for the zookeeper bundled in the hadoop-client, instead of the one in core druid that you actually updated the version for (notice starts on line 1458).
Fixes #8362.
Description
Zookeeper version should be upgraded to version 3.4.14 or later due to it has a vulnerability:
and has a critical bug.
Zookeeper version is upgraded to 3.4.14
This PR has: