apache / apache/iotdb

IoTDB Cluster Error

オープン
#6,894 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
115

説明

Hello Team,

We are trying to run cluster using 2 servers say n1,n2(with 1C1D on each). With normal configuration the cluster is performing correctly.
Then to test data availability I stopped one of the datanode (say datanode of n2), after this when I ran some query to fetch the data,
it throws error like can't connect to datanode on n2. I tried to increase the replication factor as well, but when I changed the 
replication factor to 2 then I am having this issue.

    2022-08-04 02:43:40,679 [main] ERROR o.a.i.c.s.ConfigNodeCommandLine:71 - Meet error when doing start checking
    org.apache.iotdb.commons.exception.ConfigurationException: Parameter data_replication_factor can not be 2, please set to: 1
        at org.apache.iotdb.confignode.conf.ConfigNodeStartupCheck.checkGlobalConfig(ConfigNodeStartupCheck.java:103)
        at org.apache.iotdb.confignode.conf.ConfigNodeStartupCheck.startUpCheck(ConfigNodeStartupCheck.java:65)
        at org.apache.iotdb.confignode.service.ConfigNodeCommandLine.run(ConfigNodeCommandLine.java:69)
        at org.apache.iotdb.commons.ServerCommandLine.doMain(ServerCommandLine.java:58)
        at org.apache.iotdb.confignode.service.ConfigNode.main(ConfigNode.java:84)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

ConfigNodeStartupCheck.java から始めます。ここで報告された起動チェックは data_replication_factor=2 を拒否するため、n1/n2 シナリオに関係するクラスタ構成を確認してください。n2 の datanode を停止した後にクエリを再現し、そのレプリケーション係数の設定によって、その datanode なしでクラスタが利用可能な状態を維持できるか確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
databases, distributed-systems
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。