You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Xinyu Tan (Jira)" <ji...@apache.org> on 2023/02/03 02:44:00 UTC
[jira] [Assigned] (IOTDB-5383) [confignode]start-confignode fail with NPE
[ https://issues.apache.org/jira/browse/IOTDB-5383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xinyu Tan reassigned IOTDB-5383:
--------------------------------
Assignee: Song Ziyang (was: Xinyu Tan)
> [confignode]start-confignode fail with NPE
> ------------------------------------------
>
> Key: IOTDB-5383
> URL: https://issues.apache.org/jira/browse/IOTDB-5383
> Project: Apache IoTDB
> Issue Type: Bug
> Components: Core/Server
> Affects Versions: 1.0.1
> Reporter: changxue
> Assignee: Song Ziyang
> Priority: Major
> Attachments: conf-46.tar.gz, confignode-npe_allnodes-log.tar.gz
>
>
> [confignode]start-confignode fail with NPE
> reproduction:
> 1. config_node_ratis_snapshot_trigger_threshold=30 append in iotdb-common.properties
> 2. start 3C3D cluster
> expect: start successfully
> actual result:
> 2C3D start successfully but it failed with NPE when start the third confignode
> {code}
> show cluster
> +------+----------+-------+---------------+------------+
> |NodeID| NodeType| Status|InternalAddress|InternalPort|
> +------+----------+-------+---------------+------------+
> | 0|ConfigNode|Running| 172.20.70.44| 10710|
> | 2|ConfigNode|Running| 172.20.70.45| 10710|
> | 1| DataNode|Running| 172.20.70.44| 10730|
> | 3| DataNode|Running| 172.20.70.45| 10730|
> | 5| DataNode|Running| 172.20.70.46| 10730|
> +------+----------+-------+---------------+------------+
> {code}
> {code}
> 2023-01-07 14:42:11,745 [grpc-default-executor-0] INFO o.a.r.g.s.GrpcServerProtocolService$ServerRequestStreamObserver:143 - 8: Completed INSTALL_SNAPSHOT, lastRequest: 0->8#0-t1,chunk:ba310edb-b921-452d-8023-4ef2ad4f51f9,8
> 2023-01-07 14:42:11,746 [8@group-000000000000-StateMachineUpdater] ERROR o.a.r.s.i.StateMachineUpdater:194 - 8@group-000000000000-StateMachineUpdater caught a Throwable.
> java.lang.NullPointerException: snapshot == null
> at java.util.Objects.requireNonNull(Objects.java:228)
> at org.apache.ratis.server.impl.StateMachineUpdater.reload(StateMachineUpdater.java:219)
> at org.apache.ratis.server.impl.StateMachineUpdater.run(StateMachineUpdater.java:179)
> at java.lang.Thread.run(Thread.java:748)
> {code}
> 猜测与 config_node_ratis_snapshot_trigger_threshold 配置太小有关。第三个confignode启动不了,show timeseries root.** 也运行不了,即集群不可用。
--
This message was sent by Atlassian Jira
(v8.20.10#820010)