hiveodbchanaunixodbc

SAP HANA Studio's Remote Source has stopped working


My Hive's remote source in SAP HANA Studio Has stopped working. The image below shows it:

enter image description here

The error that shows is the following:

SAP DBTech JDBC: [403]: internal error: Cannot get remote source objects: [unixODBC][Driver Manager]Data source name not found, and no default driver specified

In SAP HANA machine, I have the next configuration in /etc/odbc.ini:

[HIVE]
Description=Hortonworks Hive ODBC Driver (64-bit) DSN
Driver=/usr/lib/hive/lib/native/Linux-amd64-64/libhortonworkshiveodbc64.so
HOST="My AWS IP instance"
PORT=10000
Schema=default
ServiceDiscoveryMode=0
ZKNamespace=
HiveServerType=2
AuthMech=3
ThriftTransport=1
UseNativeQuery=0
UID=hive
PWD=hive
KrbHostFQDN=_HOST
KrbServiceName=hive
KrbRealm=
SSL=0
TwoWaySSL=0
ClientCert=
ClientPrivateKey=
ClientPrivateKeyPassword=

When I try to run isql, it runs successfully and I can run queries successfully too. The image below shows it:

enter image description here

What could be the error?

Thanks for the support!


Solution

  • You may want to check that the ODBC.ini for the adm OS user is still configured correctly. "Data source name not found" sounds a lot like "there is no ODBC.ini entry for that".