Peter Turcsanyi created NIFI-10239:
--------------------------------------

             Summary: Fix Curator dependencies in Hive3 module
                 Key: NIFI-10239
                 URL: https://issues.apache.org/jira/browse/NIFI-10239
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Peter Turcsanyi
            Assignee: Peter Turcsanyi


Error:
{code:java}
2022-07-14 23:15:15,741 WARN [Timer-Driven Process Thread-6] 
o.a.n.controller.tasks.ConnectableTask Processing halted: uncaught exception in 
Component [SelectHive3QL[id=e22cea71-f161-381e-c2c8-f241c6f363f7]]
java.lang.NoSuchMethodError: 
org.apache.curator.shaded.com.google.common.util.concurrent.MoreExecutors.sameThreadExecutor()Lorg/apache/curator/shaded/com/google/common/util/concurrent/ListeningExecutorService;
        at 
org.apache.curator.framework.listen.ListenerContainer.addListener(ListenerContainer.java:41)
        at 
org.apache.curator.framework.imps.CuratorFrameworkImpl.start(CuratorFrameworkImpl.java:257)
        at 
org.apache.hive.jdbc.ZooKeeperHiveClientHelper.getZkClient(ZooKeeperHiveClientHelper.java:92)
        at 
org.apache.hive.jdbc.ZooKeeperHiveClientHelper.configureConnParams(ZooKeeperHiveClientHelper.java:141)
        at 
org.apache.hive.jdbc.Utils.configureConnParamsFromZooKeeper(Utils.java:511)
        at org.apache.hive.jdbc.Utils.parseURL(Utils.java:334)
        at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:168)
        at org.apache.hive.jdbc.HiveDriver.connect(HiveDriver.java:107)
{code}

RCA:
NIFI-10145 upgraded to Hadoop 3.3.3.
In Hive3 module, it brings curator-client:4.2.0 in but hive-common:3.1.3 still 
depends on curator-framework 2.12.0 which would need a compatible version of 
curator-client.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to