clickhouse-docs icon indicating copy to clipboard operation
clickhouse-docs copied to clipboard

some page should exist?

Open Mrmanbanpai opened this issue 1 year ago • 0 comments

I use the cluster mode (shard+replica) of ck, but the configuration of the zookeeper cluster does not work and an error is reported. So I checked the documentation and found that this page does not exist. I don’t know where I should find the answer?

By the way, describe my problem

<!-- ZooKeeper is used to store metadata about replicas, when using Replicated tables.
         Optional. If you don't use replicated tables, you could omit that.

         See https://clickhouse.yandex/docs/en/table_engines/replication/
      -->

    <zookeeper>
       <node index="1">
           <host>192.168.0.51</host>
           <port>2181</port>
       </node>
       <node index="2">
           <host>192.168.0.52</host>
           <port>2181</port>
       </node>
       <node index="3">
           <host>192.168.0.53</host>
           <port>2181</port>
       </node>
    </zookeeper>

I have configured zk but ck reports an error

2024.06.26 10:56:17.245153 [ 10 ] {} <Error> ServerErrorHandler: Poco::Exception. Code: 1000, e.code() = 107, e.displayText() = Net Exception: Socket is not connected, Stack trace (when copying this message, always include the lines below):

0. Poco::Net::SocketImpl::error(int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) @ 0x11d1034e in /usr/bin/clickhouse
1. Poco::Net::SocketImpl::peerAddress() @ 0x11d125c6 in /usr/bin/clickhouse
2. DB::HTTPServerRequest::HTTPServerRequest(DB::Context const&, DB::HTTPServerResponse&, Poco::Net::HTTPServerSession&) @ 0xf66d774 in /usr/bin/clickhouse
3. DB::HTTPServerConnection::run() @ 0xf66c5e4 in /usr/bin/clickhouse
4. Poco::Net::TCPServerConnection::start() @ 0x11d173af in /usr/bin/clickhouse
5. Poco::Net::TCPServerDispatcher::run() @ 0x11d18dc1 in /usr/bin/clickhouse
6. Poco::PooledThread::run() @ 0x11e4f4e9 in /usr/bin/clickhouse
7. Poco::ThreadImpl::runnableEntry(void*) @ 0x11e4b34a in /usr/bin/clickhouse
8. start_thread @ 0x9609 in /usr/lib/x86_64-linux-gnu/libpthread-2.31.so
9. __clone @ 0x122293 in /usr/lib/x86_64-linux-gnu/libc-2.31.so
 (version 21.3.11.5 (official build))

don't know where to look for the problem because other search results all point to configuration, but I don't understand what's wrong with the configuration

Mrmanbanpai avatar Jun 26 '24 02:06 Mrmanbanpai