SAP HANA Studio的远程源已停止工作
问题描述:
我的Hive在SAP HANA Studio中的远程源已停止工作。下面的图像示出了它:SAP HANA Studio的远程源已停止工作
,显示该错误是:
SAP DBTech JDBC: [403]: internal error: Cannot get remote source objects: [unixODBC][Driver Manager]Data source name not found, and no default driver specified
在SAP HANA机,我有一个配置在/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=
当我尝试运行isql时,它运行成功,我也可以成功运行查询。下图显示了它:
可能是什么错误?
感谢您的支持!
答
您可能需要检查adm OS用户的ODBC.ini是否仍然配置正确。 "Data source name not found"
听起来很像"there is no ODBC.ini entry for that"
。
最后,我可以解决搜索系统中所有odbc.ini文件并在所有这些中编写HIVE DNS配置的问题。我认为SAP HANA没有指向我认为的odbc.ini文件。 –