Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
4 ノードの Cassandra クラスターがあり、これら 4 つのノードすべてで KairosDB を実行しています。のデフォルト値はkairosdb.datastore.cassandra.host_listですlocalhost。ここですべての Cassandra ノードを指定する必要がありますか? その場合、4 つのノードすべての間で負荷が分散されていることを確認するにはどうすればよいですか?
kairosdb.datastore.cassandra.host_list
localhost
彼らのコードから、Hector を使用して Cassandra と通信しているようです。その場合、Cassandra の接続プーリングと負荷分散は hector の実装によって自動的に行われるため、心配する必要はありません。したがって、kairosdb インスタンスごとに持っているすべての Cassandra ノードのリッスン アドレスを指定すれば、準備完了です。
コード: https://github.com/proofpoint/kairosdb/blob/master/src/main/java/org/kairosdb/datastore/cassandra/HectorConfiguration.java