zk session expired
发布于 3 个月前 作者 xiaohui0318 277 次浏览 来自 问答

使用clickhouse-client进行数据入的过程,开启了6台机器,共3个分片,每两台互为备份。每台启动4个脚进行入库,每台机器数据50亿,占用大小1.6T。刚开始tickTime用的默认的值,出现的过期比较多,后来改成这个,出现expired比较少了,但是还是会有。请问还有哪些配置需要改的吗? /data2/clickhouse_data/datasimulation/datasimulation_20181230223644_16_27da7232-de1b-4456-8c4d-8b80ae701fe7.txt current time:2019-01-03 03:36:34 Received exception fm ****** (version 18.12.17): Code: 225. DB::Exception: Received fm dmp14:9000, 192.168.91.14. DB::Exception: ZooKeeper session has been expired… zk配置: tickTime=20000
dataDir=/home/dmp/zookeeper-3.4.5-cdh5.4.0 clientPort=2181
initLimit=5
syncLimit=2

1 回复

我也遇到这样的问题,ZooKeeper session has been expired 紧接着就是Table is in readonly mode,**就是Exception:Read Time Out,最后就是挂掉入Clickhouse的程序

回到顶部