Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-10239

Fix Curator dependencies in Hive3 module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • None
    • None

    Description

      Error:

      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)
      

      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.

      Attachments

        Issue Links

          Activity

            People

              turcsanyip Peter Turcsanyi
              turcsanyip Peter Turcsanyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m