Received exception from server (version 20.4.5): Code: 159. DB::Exception: Received from localhost:9000. DB::Exception: Watching task /clickhouse/task_queue/ddl/query-0000000089 is executing longer than distributed_ddl_task_timeout (=180) seconds. There are 6 unfinished hosts (0 of them are currently active), they are going to execute the query in background.
使用docker安装clickhouse时,执行ddl会出现如上报错,可能原因是docker的hosts与宿主机hosts的问题。详情安装如下。
转载:https://www.cnblogs.com/EminemJK/p/15138536.html