HttpClient error with SelectHiveQL NiFi Processor
We are facing the HttpClient error when we try to fetch data from the Hive using the SelectHiveQL NiFi Processor.
Please find the error details below and help us resolve this with your expertise.
Controller Service - HiveConnectionPool
Database Connection URL: jdbc:hive2://localhost:10000/default;principal=hive@test@xyz.com
Hive Configuration Resources: /etc/hive/conf/hive-site.xml,/etc/hadoop/conf/core-site.xml

NiFi Processor - SelectHiveQL

Error Message :
SelectHiveQL[id=23er-1234-9999-4444-17] org.apache.nifi.processors.hive.SelectHiveQL$$Lambda$2132/2007351143@6ab4a383 failed to process due to java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient; rolling back session: {}
SelectHiveQL[id=sge33-1234-9999-21-33] Processing halted: yielding [1 sec]: java.lang.NoClassDefFoundError: org/apache/http/client/HttpClient
- Caused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpClient

