You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by "hjfrank1991 (via GitHub)" <gi...@apache.org> on 2023/09/04 08:45:55 UTC

[GitHub] [dolphinscheduler] hjfrank1991 commented on issue #13085: SQL task prepareStatementAndBind error

hjfrank1991 commented on issue #13085:
URL: https://github.com/apache/dolphinscheduler/issues/13085#issuecomment-1704861352

   org.apache.dolphinscheduler.plugin.datasource.hive.HiveDataSourceClient:[156] - get oneSessionDataSource Connection fail SQLException: HikariPool-3 - Connection is not available, request timed out after 35560ms.
   java.sql.SQLTransientConnectionException: HikariPool-3 - Connection is not available, request timed out after 35560ms.
   	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696)
   	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:197)
   	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:162)
   	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:128)
   	at org.apache.dolphinscheduler.plugin.datasource.hive.HiveDataSourceClient.getConnection(HiveDataSourceClient.java:154)
   	at org.apache.dolphinscheduler.plugin.datasource.api.plugin.DataSourceClientProvider.getConnection(DataSourceClientProvider.java:66)
   	at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.executeFuncAndSql(SqlTask.java:254)
   	at org.apache.dolphinscheduler.plugin.task.sql.SqlTask.handle(SqlTask.java:228)
   	at org.apache.dolphinscheduler.server.worker.runner.TaskExecuteThread.run(TaskExecuteThread.java:250)
   	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask$TrustedFutureInterruptibleTask.runInterruptibly(TrustedListenableFutureTask.java:125)
   	at com.google.common.util.concurrent.InterruptibleTask.run(InterruptibleTask.java:57)
   	at com.google.common.util.concurrent.TrustedListenableFutureTask.run(TrustedListenableFutureTask.java:78)
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   	at java.lang.Thread.run(Thread.java:748)
   Caused by: java.sql.SQLTimeoutException: Query timed out after 5 seconds
   	at org.apache.hive.jdbc.HiveStatement.waitForOperationToComplete(HiveStatement.java:375)
   	at org.apache.hive.jdbc.HiveStatement.execute(HiveStatement.java:254)
   	at com.zaxxer.hikari.pool.PoolBase.isConnectionAlive(PoolBase.java:169)
   	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:186)
   	... 14 common frames omitted


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org