Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Nifi PutHiveQL Error

Nifi PutHiveQL Error

failed to process session due to org/apache/http/client/HTTPClient; Processor Administrativly Yielded for 1 sec: java.lang.NoClassDefFoundError: org/aoache/http/client/HttpClient

5 REPLIES 5

Re: Nifi PutHiveQL Error

Super Guru

What version of NiFi are you using? What version of Hive are you connecting to? Are there any custom processors or any additional JARs in NiFi's lib/ folder?

Re: Nifi PutHiveQL Error

I am sorry fo delay. I tried (1.1.0, 1.2.0, 1.4.0, 1.6.0) version nifi. Hive version 3.0.0. I added (hive-jdbc-xxx.jar, httpclient-xxx.jar, libthrift-xxx.jar) When I added httpclient-xxx.jar after rebooting nifi, nifi dont worked.

Re: Nifi PutHiveQL Error

Rising Star

java.lang.NoClassDefFoundError: org/aoache/http/client/HttpClient

The "o" in aoache looks pretty indicative of that error. Was this error copy/pasted from a log or was it retyped by hand?

Re: Nifi PutHiveQL Error

Sorry) It is my misstake)

Re: Nifi PutHiveQL Error

Super Guru

Those versions of NiFi are built with Hive 1.2.x and are likely not compatible with Hive 3.0.0. As of NiFi 1.7.0 (and the upcoming HDF 3.2 release) there are Hive 3 processors such as PutHive3QL. Due to the size of the NiFi ARchive (NAR), it is not included in the Apache NiFi 1.7.0 release, but will be included in the HDF 3.2 release. For Apache NiFi 1.7.0 you will have to build it from source.

Don't have an account?
Coming from Hortonworks? Activate your account here