can't start datanode无法正常启动datanode,版本号为1.3.2,端口没有被占用,内存资源分配也足够,以下是我的log_datanode_error
025-04-11 10:10:16,685 [main] ERROR o.a.i.c.ServerCommandLine:63 - Failed to execute system command
org.apache.iotdb.commons.exception.runtime.ThriftSerDeException: Read TConsensusGroupId failed: org.apache.thrift.transport.TTransportException: Cannot read. Remote side has closed. Tried to read 1 bytes, but only got 0 bytes. (This is often indicative of an internal error on the server side. Please check your server logs.)
at org.apache.iotdb.commons.utils.ThriftCommonsSerDeUtils.deserializeTConsensusGroupId(ThriftCommonsSerDeUtils.java:235)
at org.apache.iotdb.consensus.common.Peer.deserialize(Peer.java:79)
at org.apache.iotdb.consensus.iot.IoTConsensusServerImpl.getConfiguration(IoTConsensusServerImpl.java:744)
at org.apache.iotdb.consensus.iot.IoTConsensusServerImpl.recoverConfiguration(IoTConsensusServerImpl.java:704)
at org.apache.iotdb.consensus.iot.IoTConsensusServerImpl.
Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!
this is part log of log_datanode_all这是log_datanode_all中的一部分日志
2025-04-11 11:00:40,909 [pool-10-IoTDB-Compaction-Schedule-2] INFO o.a.i.d.s.d.c.s.CompactionScheduleTaskWorker:72 - [CompactionScheduleTaskWorker-1] compaction schedule is interrupted 2025-04-11 11:00:40,909 [pool-10-IoTDB-Compaction-Schedule-3] INFO o.a.i.d.s.d.c.s.CompactionScheduleTaskWorker:72 - [CompactionScheduleTaskWorker-2] compaction schedule is interrupted 2025-04-11 11:00:50,992 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.b.CacheHitRatioMonitor:52 - IoTDB: stop CACHE_HIT_RATIO_DISPLAY_SERVICE... 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.r.m.AbstractPoolManager:41 - Waiting for flush sub task thread pool to shut down. 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.d.f.p.FlushSubTaskPoolManager:63 - Flush sub task manager stopped 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.r.m.AbstractPoolManager:41 - Waiting for flush task thread pool to shut down. 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.d.f.p.FlushTaskPoolManager:66 - Flush task manager stopped 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.c.s.RegisterManager:73 - deregister all service. 2025-04-11 11:00:50,993 [IoTDB-Shutdown-Hook] INFO o.a.i.db.service.DataNode:1026 - IoTDB DataNode is deactivated. 2025-04-11 11:00:50,994 [IoTDB-Shutdown-Hook] INFO o.a.i.c.s.m.MetricService:127 - MetricService try to stop. 2025-04-11 11:00:50,994 [IoTDB-Shutdown-Hook] INFO o.a.i.c.s.m.MetricService:132 - MetricService stop successfully. 2025-04-11 11:00:50,994 [IoTDB-Shutdown-Hook] INFO o.a.i.d.s.IoTDBShutdownHook:143 - DataNode exits. Jvm memory usage: 0 GB 781 MB 77 KB 240 B
025-04-11 10:10:16,685 [main] 错误 o.a.i.c.ServerCommandLine:63 - 无法执行系统命令org.apache.iotdb.commons.exception.runtime.ThriftSerDeException:读取 TConsensusGroupId 失败:org.apache.thrift.transport.TTransportException:无法读取。远程端已关闭。尝试读取 1 个字节,但只得到 0 个字节。(这通常表示服务器端存在内部错误。请检查您的服务器日志。在 org.apache.iotdb.commons.utils.ThriftCommonsSerDeUtils.deserializeTConsensusGroupId(ThriftCommonsSerDeUtils.java:235)在 org.apache.iotdb.consensus.common.Peer.deserialize(Peer.java:79)在 org.apache.iotdb.consensus.iot.IoTConsensusServerImpl.getConfiguration(IoTConsensusServerImpl.java:744)在 org.apache.iotdb.consensus.iot.IoTConsensusServerImpl.recoverConfiguration(IoTConsensusServerImpl.java:704)在 org.apache.iotdb.consensus.iot.IoTConsensusServerImpl 上。(IoTConsensusServerImpl.java:151)在 org.apache.iotdb.consensus.iot.IoTConsensus.initAndRecover(IoTConsensus.java:173)在 org.apache.iotdb.consensus.iot.IoTConsensus.start(IoTConsensus.java:135)在 org.apache.iotdb.db.service.DataNode.active(DataNode.java:575)在 org.apache.iotdb.db.service.DataNode.doAddNode(DataNode.java:215)在 org.apache.iotdb.db.service.DataNodeServerCommandLine.run(DataNodeServerCommandLine.java:81)在 org.apache.iotdb.commons.ServerCommandLine.doMain (ServerCommandLine.java:58)在 org.apache.iotdb.db.service.DataNode.main(DataNode.java:183)
建议重装
有文件损坏了,可以重新安装一下,将 数据 load 进来,或者等一下 1.3.4 版本