踩坑——Clickhouse,Timeout exceeded: While executing Remote, Stack trace

Posted 羲凡丞相

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了踩坑——Clickhouse,Timeout exceeded: While executing Remote, Stack trace相关的知识,希望对你有一定的参考价值。

@羲凡——只为了更好的活着

踩坑——Clickhouse,Timeout exceeded: While executing Remote, Stack trace

当某个查询超过5分钟的时候,无论在命令行还是查询服务中,都会出现 Timeout exceeded: While executing Remote, Stack trace .

查看max_execution_time和distributed_ddl_task_timeout 两个参数也没毛病。

解决方案:在users.xml的 yandex-profiles-default 下添加以下两个参数(单位秒),然后重启ck
<receive_timeout>800</receive_timeout>
<send_timeout>800</send_timeout>
另外如果你在查询服务中,jdbc后面加上 ?socket_timeout=800000
jdbc:clickhouse://IP:8123/db3?socket_timeout=800000

===========================================================================

@羲凡——只为了更好的活着

若对博客中有任何问题,欢迎留言交流

以上是关于踩坑——Clickhouse,Timeout exceeded: While executing Remote, Stack trace的主要内容,如果未能解决你的问题,请参考以下文章

使用ClickHouse JDBC官方驱动,踩坑无数

使用ClickHouse JDBC官方驱动,踩坑无数

Python使用ClickHouse实践与踩坑记

Clickhouse - TTL - merge_with_ttl_timeout 不影响列 ttl

格式化namenode时 报错 No Route to Host from node1/192.168.1.111 to node3:8485 failed on socket timeout ex

Hbase踩坑计