数据节点在移除后尝试加入集群时为什么状态显示为未知?

huangapple go评论52阅读模式
英文:

Why the datanode status reflected unknown when trying to join cluster after removing?

问题

在使用“remove-datanode [DataNodeID]”脚本从Apache IoTDB中移除一个数据节点后,IoTDB成功提示已移除。我删除了数据节点目录中的所有内容,然后启动它加入了集群。加入后,状态始终显示为未知,但可以通过CLI工具连接到该节点,并且也可以找到最新的数据。我不知道为什么状态一直是未知的。可能出了什么问题?我现在使用的是IoTDB版本1.0。

英文:

After I used the "remove-datanode [DataNodeID]" script to remove a datanode in Apache IoTDB, IoTDB prompted successfully removed. I deleted all the contents in the datanode directory, and then started it to join the cluster. After joining, the status always shows unknown, but this node can be connected through cli tool, and the latest data can also be found. I don't know why the status has always been unknown. What might be going on? I now use IoTDB version 1.0.

答案1

得分: 0

如果您的数据节点中有数据,您可以清除数据目录中的所有内容,然后重试;如果只有空的数据节点,您可以尝试重新启动Apache IoTDB的所有配置节点,看看是否仍然发生此错误。

英文:

If there is data in your datanode, you can clear all the content in the data directory and try agin; if there are only empty datanodes, you can try to restart all confignodes of Apache IoTDB to see if this error still occurs.

huangapple
  • 本文由 发表于 2023年6月16日 15:51:44
  • 转载请务必保留本文链接:https://go.coder-hub.com/76488055.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定