Clickhouse import data from csv DB::NetException: Connection reset by peer, while writing to socket

落爺英雄遲暮 提交于 2019-12-11 08:33:47

问题


I'm trying to load *.gz file to Clickhouse through: clickhouse-client --max_memory_usage=15323460608 --format_csv_delimiter="|" --query="INSERT INTO tmp1.my_test)table FORMAT CSV"

I"m getting the error: Code: 210. DB::NetException: Connection reset by peer, while writing to socket (127.0.0.1:9000) .

No errors in clickhouse-server.log , clickhouse-server.err.log or zookeeper.log

When I run the insert command I see the memory is getting almost the limit of the server ( 32Gb) this is why I tried to limit it through max_memory_usage , the same error

Any ideas? Thanks in advance

来源:https://stackoverflow.com/questions/56156682/clickhouse-import-data-from-csv-dbnetexception-connection-reset-by-peer-whil

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!