我有一個從AA遠程SQL服務器獲取數據的pyspark應用程序,它JDBC連接超時錯誤在連接火花應用到遠程SQL Server
工作正常,直到最近,我已經升級我的SQL Server 2016 CTP3以sql
服務器2016年RC3開發人員版本,現在我無法再連接到數據庫,具有相同的配置,我可以連接。我不知道發生了什麼,並嘗試了所有可能的方法來弄清楚。
錯誤消息:
: com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host myserver.cloudapp.net, port 1433 has failed. Error: "connect timed out. Verify the connection properties. Make sure that an instance of SQL Server is running on the host and accepting TCP/IP connections at the port. Make sure that TCP connections to the port are not blocked by a firewall."
我知道爲什麼會發生,並且是什麼可能的原因,我已確保在每一個可能的方式來應對這種
我的火花的應用程序駐留在蔚藍HDInsight火花集羣和我的SQL
服務器數據庫是在Windows 2012服務器(不知道這使得任何
差) ,儘管我能夠用相同的配置從相同的集羣連接到先前的Windows服務器
N ow netstat -a
在我的服務器顯示有多個已建立的連接,其中本地地址是我的機器IP和端口是1433.there很少超時請求,但它們不在1433端口,我認爲這意味着它們與我無關sql服務器連接。
是有辦法,我可以找出什麼是錯在這裏,我想我已經覆蓋了所有可能的原因在那裏它可能會發生,但我仍然得到這個錯誤