You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/07/15 18:31:00 UTC

[jira] [Commented] (NIFI-10239) Fix Curator dependencies in Hive3 module

    [ https://issues.apache.org/jira/browse/NIFI-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17567350#comment-17567350 ] 

ASF subversion and git services commented on NIFI-10239:
--------------------------------------------------------

Commit 14a31c81dd17f6d5fd3df38317673850a7e86b26 in nifi's branch refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=14a31c81dd ]

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 <ex...@apache.org>


> 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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)