Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-28-2017 05:06 PM
Hi,
I'm facing the following problem :
When I run SHOW queries through HortonWorks ODBC Driver with my kerberos-enable cluster, it returns an empty result (there is no error, just an empty result). However, I can perform SELECT queries, I can also run CREATE DATABASE or CREATE TABLE queries.
Note : I can perform SHOW queries using beeline client.
Note 2 : I tried to activate TRACE logging for the driver, and I get one error :
"Sep 28 18:48:03.508 ERROR 2741458688 Connection::SQLSetConnectAttr: [Hortonworks][ODBC] (11470) Transactions are not supported."
Any idea ?
Thanks in advance,
Sylvain.
Created 09-29-2017 12:28 PM
Ok I have the solution.
We were using ODBC via OTL and so we needed to set a particular flag "ImplicitSelect" to "true" directly on the connection level. When this flag is not set, "SHOW" queries return empty results.
Thanks,
Sylvain.
Created 09-28-2017 05:22 PM
Are you using tableau to run your hive query?
Created 09-29-2017 07:05 AM
No, I'm using my own software based on Hortonworks ODBC driver (SHOW queries used to work without kerberos).
Created 09-29-2017 12:28 PM
Ok I have the solution.
We were using ODBC via OTL and so we needed to set a particular flag "ImplicitSelect" to "true" directly on the connection level. When this flag is not set, "SHOW" queries return empty results.
Thanks,
Sylvain.