你能帮我用cloudera odbc驱动程序把我的c应用程序和hive数据库连接起来吗。我们正在使用kerberos身份验证。我正在使用此连接字符串:
conn = new OdbcConnection
{
ConnectionString = @"DRIVER={Cloudera ODBC Driver for Apache Hive};
Host=host_name;
Port=10000;
Schema=default;
HiveServerType=2;
AuthMech=1;
KrbRealm=realm_name;
KrbHostFQDN=FQDN_name;
KrbServiceName=hive;
获取此错误:
ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified.
我已经能够设置用户dsn和测试是成功的。我还通过在连接字符串中传递dsn名称进行了测试,但仍然得到相同的错误消息。
如果你有什么解决办法,请帮帮我!
暂无答案!
目前还没有任何答案,快来回答吧!