This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 14a31c81dd NIFI-10239 Upgraded Curator from 4.2.0 to 5.3.0 for Hive3
14a31c81dd is described below

commit 14a31c81dd17f6d5fd3df38317673850a7e86b26
Author: Peter Turcsanyi <[email protected]>
AuthorDate: Fri Jul 15 10:16:34 2022 +0200

    NIFI-10239 Upgraded Curator from 4.2.0 to 5.3.0 for Hive3
    
    - Corrected NoSuchMethodError for ZooKeeper discovery mode with Hive3 JDBC 
and mismatch between Hadoop 3.3.3 and Curator 4.2.0
    
    This closes #6210
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../nifi-hive-bundle/nifi-hive3-processors/pom.xml   | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml 
b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml
index 46a6b068cb..00efadd0de 100644
--- a/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml
+++ b/nifi-nar-bundles/nifi-hive-bundle/nifi-hive3-processors/pom.xml
@@ -25,6 +25,10 @@
     <artifactId>nifi-hive3-processors</artifactId>
     <packaging>jar</packaging>
 
+    <properties>
+        <curator.version>5.3.0</curator.version>
+    </properties>
+
     <dependencies>
         <dependency>
             <groupId>org.apache.nifi</groupId>
@@ -266,6 +270,22 @@
                 </exclusion>
             </exclusions>
         </dependency>
+        <!-- Use the same version of Curator for Hive and Hadoop -->
+        <dependency>
+            <groupId>org.apache.curator</groupId>
+            <artifactId>curator-framework</artifactId>
+            <version>${curator.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.curator</groupId>
+            <artifactId>curator-client</artifactId>
+            <version>${curator.version}</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.curator</groupId>
+            <artifactId>curator-recipes</artifactId>
+            <version>${curator.version}</version>
+        </dependency>
         <!-- Override groovy-all:2.4.11 from Hive -->
         <dependency>
             <groupId>org.codehaus.groovy</groupId>

Reply via email to