我使用磚JDBC驅動程序(//m.eheci.com/spark/jdbc-drivers-download)連接到Azure磚。
連接需要路由通過一個HTTP代理。我發現參數,可以配置為使用HTTP代理:我發現通過無效參數參數解析的司機。
我還是看到錯誤:
java.sql。SQLException異常(磚):[DatabricksJDBCDriver](700120)主機.... azuredatabricks.net不能解決DnsResolver com.databricks.client.jdbc.rpc.InternalDnsResolver。錯誤信息:沒有這樣的主機是已知的在com.databricks.client.jdbc.rpc.CustomDnsResolverLoader (.... azuredatabricks.net)。在com.databricks.client.hivecommon.api.HiveServer2ClientFactory getResolvedHost(未知來源)。在com.databricks.client.spark.jdbc.DownloadableFetchClientFactory createTransport(未知來源)。在com.databricks.client.hivecommon.core.HiveJDBCCommonConnection createClient(未知來源)。在com.databricks.client.spark.core.SparkJDBCConnection connectToServer(未知來源)。connectToServer(未知源)com.databricks.client.hivecommon.core.HiveJDBCCommonConnection.establishConnection(未知源)com.databricks.client.spark.core.SparkJDBCConnection.establishConnection com.databricks.client.jdbc.core.LoginTimeoutConnection(未知來源)。連接(未知源)com.databricks.client.jdbc.common.BaseConnectionFactory.doConnect(未知源)com.databricks.client.jdbc.common.AbstractDriver.connect(未知源)org.apache.commons.dbcp2.DriverConnectionFactory.createConnection (DriverConnectionFactory.java: 55) org.apache.commons.dbcp2.PoolableConnectionFactory.makeObject (PoolableConnectionFactory.java: 355) org.apache.commons.dbcp2.BasicDataSource.validateConnectionFactory (BasicDataSource.java: 115) org.apache.commons.dbcp2.BasicDataSource.createPoolableConnectionFactory (BasicDataSource.java: 665) org.apache.commons.dbcp2.BasicDataSource.createDataSource (BasicDataSource.java: 544) org.apache.commons.dbcp2.BasicDataSource.getConnection (BasicDataSource.java: 753) cloud.celonis.connector.jdbc.services.DatabaseConnectionService.lambda $ 0 $ getConnection (DatabaseConnectionService.java: 47)在java.base / java.util.concurrent.FutureTask.run (FutureTask.java: 264) java.base / java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java: 1128) java.base / java.util.concurrent.ThreadPoolExecutor Worker.run美元(ThreadPoolExecutor.java: 628)
所以,似乎不使用代理。
你有什麼建議,檢查和如何讓司機使用代理?謝謝你!