我在 IBM Bluemix 上使用最新版本的“Analytics for Apache Hadoop”。我正在按照教程配置 ODBC 驱动程序。http://www-01.ibm.com/support/knowledgecenter/SSPT3X_4.0.0/com.ibm.swg.im.infosphere.biginsights.analyze.doc/doc/bsql_odbc_windows.html
我已经下载了 10.5 数据服务器驱动程序包并配置了 db2dsdriver.cfg。
<configuration>
<dsncollection>
<dsn alias="bigsql" name="bigsql" host="bi-hadoop-prod-2208.services.dal.bluemix.net" port="51000"/>
</dsncollection>
<databases>
<database name="bigsql" host="bi-hadoop-prod-2208.services.dal.bluemix.net" port="51000">
</database>
</databases>
</configuration>
这是我的服务器信息
"userid": "xxxxxx",
"password": "xxxxx",
"BigSqlUrl": "jdbc:db2://bi-hadoop-prod-2208.services.dal.bluemix.net:51000/bigsql;sslConnection=true",
当我尝试使用 db2cli 验证连接时,我得到:
[FAILED]: [IBM][CLI Driver] SQL30081N A communication error has been detected. Communication protocol being used: "TCP/ IP". Communication API being used: "SOCKETS". Location where the error was detected:"169.54.58.208". Communication function detecting the error: "recv". Protocol specific error code(s): "10054", "*", "0". SQLSTATE=08001
有人遇到同样的问题吗?