[
https://issues.apache.org/jira/browse/IOTDB-4772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Haonan Hou reassigned IOTDB-4772:
---------------------------------
Assignee: yanze chen (was: Haonan Hou)
> error would occurs when starting datanode 2 times and all nodes seems normal
> with show cluster
> -----------------------------------------------------------------------------------------------
>
> Key: IOTDB-4772
> URL: https://issues.apache.org/jira/browse/IOTDB-4772
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Tools/Others
> Affects Versions: 0.14.0-SNAPSHOT
> Reporter: changxue
> Assignee: yanze chen
> Priority: Major
> Attachments: image-2022-10-27-11-15-54-884.png
>
>
> error would occurs when starting datanode 2 times and all nodes seems normal
> with show cluster
> reproduction:
> # start a 3C3D iotdb cluster successfully
> # run start-datanode.sh on 1 node without stopping it
>
> actual result:
> # show cluster shows all confignode and datanode is running
> # but error occurs when create timeseries !image-2022-10-27-11-15-54-884.png!
>
> 建议:
> # 在start-confignode.sh 和 start-datanode.sh 脚本中,应该先判断是否已经有启动的服务,如果有,先停止,然后再启动。
> # 咱们的stop-datanode.sh
> 内停止服务的方式不对,现状是使用ps然后查找datanode字样。一般通用做法是,在启动时将PID记录在pid文件中,停止时,读取并kill。目前的做法容易误停止其他服务(或者有多个时直接报错)。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)