You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "changxue (Jira)" <ji...@apache.org> on 2023/01/05 06:32:00 UTC

[jira] [Commented] (IOTDB-5090) Npe when stop data node

    [ https://issues.apache.org/jira/browse/IOTDB-5090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654789#comment-17654789 ] 

changxue commented on IOTDB-5090:
---------------------------------

是在datanode启动失败的时候会有这个bug。启动失败会走停止流程,但这两个Impl只有在启动成功时才会被初始化,所以加了一个npe判断.
我的重现方法:
1. 将集群的一个节点停止
2. 将单机的data替换这个集群节点的data目录
3. start-datanode.sh
结果没有NPE:
 !screenshot-1.png|width=617,height=237! 

> Npe when stop data node
> -----------------------
>
>                 Key: IOTDB-5090
>                 URL: https://issues.apache.org/jira/browse/IOTDB-5090
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: Gaofei Cao
>            Assignee: 伊丹翔
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: image-2022-11-30-16-13-02-229.png, screenshot-1.png
>
>
> !image-2022-11-30-16-13-02-229.png|width=617,height=237!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)