сервер) были проблемы с зукипером (1 из 5 нод выпадала)
2021.09.13 14:26:18.874421 [ 3075 ] {} <Error> Application: Caught exception while loading metadata: Poco::Exception. Code: 1000, e.code() = 0, e.displayText() = JSONException: JSON: begin >= end., Stack trace (when copying this message, always include the lines below):
0. JSON::checkInit() const @ 0x13323bce in /usr/bin/clickhouse
1. DB::FileChecker::load() @ 0x1022cee7 in /usr/bin/clickhouse
2. DB::FileChecker::FileChecker(std::1::shared_ptr<DB::IDisk>, std::__1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char> > const&) @ 0x1022c993 in /usr/bin/clickhouse
3. DB::StorageLog::StorageLog(std::1::shared_ptr<DB::IDisk>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, DB::StorageID const&, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::1::allocator<char> > const&, bool, unsigned long) @ 0x1022065c in /usr/bin/clickhouse
4. ? @ 0x1022bf17 in /usr/bin/clickhouse
5. DB::StorageFactory::get(DB::ASTCreateQuery const&, std::1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::shared_ptr<DB::Context>, std::1::shared_ptr<DB::Context>, DB::ColumnsDescription const&, DB::ConstraintsDescription const&, bool) const @ 0x10035301 in /usr/bin/clickhouse
6. DB::createTableFromAST(DB::ASTCreateQuery, std::1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::1::shared_ptr<DB::Context>, bool) @ 0xf64713c in /usr/bin/clickhouse
7. ? @ 0xf6457d3 in /usr/bin/clickhouse
8. ? @ 0xf64685f in /usr/bin/clickhouse
9. ThreadPoolImpl<ThreadFromGlobalPool>::worker(std::1::list_iterator<ThreadFromGlobalPool, void*>) @ 0x8d75738 in /usr/bin/clickhouse
10. ThreadFromGlobalPool::ThreadFromGlobalPool<void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::1::function<void ()>, int, std::__1::optional<unsigned long>)::'lambda0'()>(void&&, void ThreadPoolImpl<ThreadFromGlobalPool>::scheduleImpl<void>(std::__1::function<void ()>, int, std::1::optional<unsigned long>)::'lambda0'()&&...)::'lambda'()::operator()() @ 0x8d772df in /usr/bin/clickhouse
11. ThreadPoolImpl<std::1::thread>::worker(std::__1::__list_iterator<std::1::thread, void*>) @ 0x8d72a1f in /usr/bin/clickhouse
12. ? @ 0x8d76303 in /usr/bin/clickhouse
13. start_thread @ 0x7ea5 in /usr/lib64/libpthread-2.17.so
14. __clone @ 0xfe9fd in /usr/lib64/libc-2.17.so
(version 21.7.3.14 (official build))
21.7.3.14 with revision 54452
Find and delete empty .json files in the data directories of Log tables. https://github.com/ClickHouse/ClickHouse/issues/28578
Спасибо, не додумался по гитхабу поискать еще, кажетя, оживает
Обсуждают сегодня