問題タブ [clickhouse]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票する
2 に答える
3356 参照

clickhouse - Clickhouse で SQL のようなシーケンスを作成する

Sequence を含む SQL クエリがあります。

Clickhouse の SQL で作成するようなシーケンスを作成するにはどうすればよいですか?

0 投票する
1 に答える
1911 参照

clickhouse - 分散エンジン DBException

ローカル システムにテーブルを作成しました: CREATE TABLE default.test_distributed (a Int8) ENGINE = Distributed(logs, default, test_remote)

IP 10.121.21.33 のリモート システムにテーブルを作成しました: create table test_remote (a Int8) Engine=Log

次に、ローカル システムにデータを挿入しました: test_distributed 値 (1011) に挿入します。

そして、Selectクエリを起動しました:select * from test_distributed

そして、次の例外を取得しました: 2017.05.02 18:49:36.155606 [ 14 ] ConnectionPoolWithFailover: 試行 №1 で接続に失敗しました、理由: コード: 210、e.displayText() = DB::NetException: 接続が拒否されました: (10.121.21.33: 9000), e.what() = DB::NetException 2017.05.02 18:49:36.155982 [ 14 ] ConnectionPoolWithFailover: 試行 №2 で接続に失敗しました, 理由: コード: 210, e.displayText() = DB::NetException:接続が拒否されました: (10.121.21.33:9000), e.what() = DB::NetException 2017.05.02 18:49:36.156316 [ 14 ] ConnectionPoolWithFailover: 試行 №3 で接続に失敗しました, 理由: コード: 210, e.displayText () = DB::NetException: 接続が拒否されました: (10.121.21.33:9000), e.what() = DB::NetException 2017.05.02 18:49:36.162780 [ 4 ] executeQuery: コード: 279, e.displayText( ) = DB::NetException: すべての接続試行が失敗しました。ログ:

コード: 210、e.displayText() = DB::NetException: 接続が拒否されました: (10.121.21.33:9000)、e.what() = DB::NetException コード: 210、e.displayText() = DB::NetException : 接続が拒否されました: (10.121.21.33:9000), e.what() = DB::NetException コード: 210, e.displayText() = DB::NetException: 接続が拒否されました: (10.121.21.33:9000), e. what() = DB::NetException

、 e.what() = DB::NetException (from 127.0.0.1:33590) (クエリ: select * from test_distributed)、スタック トレース:

  1. clickhouse サーバー (StackTrace::StackTrace()+0x16) [0x17c6e76]
  2. clickhouse-server(DB::Exception::Exception(std::string const&, int)+0x1f) [0xfdd9ff]
  3. clickhouse-server(PoolWithFailoverBase::getMany(DB::Settings const*, PoolMode)+0x773) [0x17615f3]
  4. clickhouse-server(DB::ConnectionPoolWithFailover::doGetMany(DB::Settings const*, PoolMode)+0x33) [0x17617f3]
  5. clickhouse-server(DB::MultiplexedConnections::initFromShard(DB::IConnectionPool*)+0x26d) [0x19afcad]
  6. clickhouse-server(DB::MultiplexedConnections::MultiplexedConnections(DB::IConnectionPool*, DB::Settings const*, std::shared_ptr, bool, PoolMode)+0x138) [0x19b0a38]
  7. clickhouse サーバー (DB::RemoteBlockInputStream::createMultiplexedConnections()+0x3fb) [0x1665e8b]
  8. clickhouse サーバー (DB::RemoteBlockInputStream::readPrefix()+0x23) [0x166b043]
  9. clickhouse-server(DB::AsynchronousBlockInputStream::calculate(MemoryTracker*)+0x60) [0xfe8ea0]
  10. clickhouse-server(ThreadPool::worker()+0x141) [0x17d2d91]
  11. クリックハウスサーバー() [0x33d4faf]
  12. /lib/x86_64-linux-gnu/libpthread.so.0(+0x8182) [0x7f8fe38aa182]
  13. /lib/x86_64-linux-gnu/libc.so.6(クローン+0x6d) [0x7f8fe2ec530d]
0 投票する
1 に答える
1180 参照

macos - Mac OS で clickhouse docker イメージを実行するとエラーが発生する

Docker イメージから yandex clickhouse をインストールしたときに例外が発生しました。

docker run -it --rm --link some-clickhouse-server:clickhouse-server yandex/clickhouse-client --host clickhouse-server

docker logs 54aa87e92a2c Include not found: clickhouse_remote_servers Include not found: clickhouse_compression POCO ERROR: Exception: Could not determine local time zone: boost::filesystem::canonical: No such file or directory: "/usr/share/zoneinfo/" terminate called after throwing an instance of 'Poco::Exception' what(): Exception

誰でも私を助けることができますか?

0 投票する
2 に答える
1286 参照

clickhouse - チェックサムが一致しません: データが破損しています。: /opt/clickhouse//data/click で列「cid」を読み取り中

clickhouse を使用してデータを保存していますが、クリック テーブルから列 cid をクエリしているときに次のエラーが発生します。

チェックサムが一致しません: データが破損しています。

今のところレプリケートはありません。回復のための提案はありますか?