【问题标题】:net.snowflake.client.jdbc.internal.apache.http.impl.execchain.RetryExec: I/O exception while executing DDLnet.snowflake.client.jdbc.internal.apache.http.impl.execchain.RetryExec:执行 DDL 时出现 I/O 异常
【发布时间】:2020-02-21 10:27:12
【问题描述】:

我正在尝试使用雪花 jdbc 驱动程序执行 DDL 查询:

创建表 table_destination as select * from table_source

我在日志中看到了这些错误。虽然,雪花中的表已成功创建。

错误:

net.snowflake.client.jdbc.internal.apache.http.impl.execchain.RetryExec: I/O exception (net.snowflake.client.jdbc.internal.apache.http.NoHttpResponseException) caught when processing request to {s}->https://xyz.snowflakecomputing.com:443: The target server failed to respond

似乎表创建时间过长,雪花正在重试以获得响应。有人可以解释一下这里发生了什么吗?

【问题讨论】:

  • 请附上详细的错误堆栈
  • 对不起,我错过了。更新了带有错误消息的原始帖子

标签: snowflake-cloud-data-platform


【解决方案1】:

我找到了这篇文章。(https://github.com/DigitalPebble/storm-crawler/issues/405)

尝试确保启用自动重试。 例如。 builder = HttpClients.custom().setUserAgent(userAgent) .setConnectionManager(CONNECTION_MANAGER) .setConnectionManagerShared(true).disableRedirectHandling(); //.di​​sableAutomaticRetries();

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2013-01-30
    • 2015-01-17
    • 2017-05-06
    • 2017-08-22
    • 2021-10-21
    • 2015-07-24
    • 2016-03-31
    • 2013-01-07
    相关资源
    最近更新 更多