nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Milan Das <m...@interset.com>
Subject Hive backward compatibily
Date Mon, 05 Mar 2018 17:29:42 GMT
Hello NIFI Dev,

I am trying to use SelectHiveQL with Hive version hive-1.1.0 (it is part of the Cloudera 5.13.1)

https://www.cloudera.com/documentation/enterprise/release-notes/topics/cdh_vd_cdh_package_tarball_513.html#tarball_5131

 

Seems like because SelectHiveQL uses hive-1.2.1 client library I am getting following error.
My NIFI version is 1.4.0

 

Caused by: java.sql.SQLException: Could not establish connection to jdbc:hive2://ip-NNN-NN-N-NNN.ec2.internal:10000/default;principal=hive/_HOST@.INTERSET.COM:
Required field 'client_protocol' is unset! Struct:TOpenSessionReq(client_protocol:null, configuration:{use:database=default})

                at org.apache.hive.jdbc.HiveConnection.openSession(HiveConnection.java:594)

                at org.apache.hive.jdbc.HiveConnection.<init>(HiveConnection.java:192)

 

hive.version-> pom.xml

https://github.com/apache/nifi/blob/rel/nifi-1.4.0/pom.xml#L105

 

 

 

Wondering if there is a way for backward compatibility. 

 

Regards,

 

Milan Das
Sr. System Architect
email: mdas@interset.com
mobile: +1 678 216 5660
www.interset.com

 

 

 

 


Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message