- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
NiFi to Hive connection on Docker
- Labels:
-
Apache Hive
-
Apache NiFi
Created ‎03-27-2024 07:28 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I'm trying to query a Hive database on NiFi, but I get the following error, both Hive and NiFi are hosted on the same Docker container.
I downloaded and put 'nifi-hive-nar-1.25.0.nar' and 'nifi-hive-services-api-nar-1.25.0.nar' files in the lib folder to add the processor as It was not built in for my installation.
I'm trying the following configuration :
This is the part of the schema where I'm encountering this issue:
Maybe the issue is with the connection URI ? Regardless any help to steer me to the solution would be nice, thanks.
Created on ‎07-08-2024 05:57 AM - edited ‎07-08-2024 05:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@ehehtenandayo your Hive Metastore URI should look like "thirft://<Hive Metastore host>:9083." Note that hive meta store host is not the same as the hive server host.
You can usually locate the correct thrift string in the hive-site.xml as such:
<property>
<name>hive.metastore.uris</name>
<value>thrift://host1.cloudera.site:9083,thrift://host2.cloudera.site:9083</value>
</property>
