Affects Version/s: None
Fix Version/s: 3.3.0
The Kudu unit tests that use the `MiniDFSCluster` are broken due to a guava dependency issue in the `hadoop-minicluster` module.
The issue in that change is that even though Guava was excluded from the `curator-client` module, just below that the `curator-framework` module is defined and doesn't exclude Gauva:
This causes Guava 27.0.1-jre to be pulled in instead of Guava 11.0.2 defined by Hadoop:
The root cause:
I was able to reproduce this issue with some dummy projects, see https://github.com/symat/transitive-dependency-test
It seems that gradle behaves in this case differently than maven. If someone is using maven, then he will not see this problem, as the exclude rules defined for the curator-client will be enforced even if the curator-client comes transitively through the curator-framework. While using the hadoop-minicluster in a gradle project will lead to this problem (unless extra excludes / dependencies gets defined in the gradle project).
The proposed solution is to add the exclude rules for all Curator dependencies, preventing other gradle projects using Hadoop from breaking because of the Curator upgrade.