You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "l2280212 (via GitHub)" <gi...@apache.org> on 2023/11/28 07:40:23 UTC

[PR] Use systemctl to control confignode and datanode [iotdb]

l2280212 opened a new pull request, #11629:
URL: https://github.com/apache/iotdb/pull/11629

   This shell script can register confignode and datanode systemd services and start/stop them using "systemctl".


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Use systemctl to control confignode and datanode [iotdb]

Posted by "HTHou (via GitHub)" <gi...@apache.org>.
HTHou merged PR #11629:
URL: https://github.com/apache/iotdb/pull/11629


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Use systemctl to control confignode and datanode [iotdb]

Posted by "wxcoin (via GitHub)" <gi...@apache.org>.
wxcoin commented on PR #11629:
URL: https://github.com/apache/iotdb/pull/11629#issuecomment-1840591827

   
   
   2023-12-05 19:37:34,273 [pool-13-IoTDB-ConfigNodeRPC-Processor-7] INFO  o.a.i.c.s.t.ConfigNodeRPCServiceProcessor:222 - Execute RegisterDataNodeRequest TDataNodeRegisterReq(clusterName:defaultCluster, dataNodeConfiguration:TDataNodeConfiguration(location:TDataNodeLocation(dataNodeId:-1, clientRpcEndPoint:TEndPoint(ip:0.0.0.0, port:6667), internalEndPoint:TEndPoint(ip:127.0.0.1, port:10730), mPPDataExchangeEndPoint:TEndPoint(ip:127.0.0.1, port:10740), dataRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10760), schemaRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10750)), resource:TNodeResource(cpuCoreNum:8, maxMemory:804257792)), versionInfo:TNodeVersionInfo(version:1.2.2, buildInfo:5d0bfb0)) with result TDataNodeRegisterResp(status:TSStatus(code:400, message:The current ConfigNode is not leader, please redirect to a new ConfigNode.), configNodeList:[]) 
   2023-12-05 19:37:41,283 [pool-13-IoTDB-ConfigNodeRPC-Processor-8] INFO  o.a.i.c.s.t.ConfigNodeRPCServiceProcessor:222 - Execute RegisterDataNodeRequest TDataNodeRegisterReq(clusterName:defaultCluster, dataNodeConfiguration:TDataNodeConfiguration(location:TDataNodeLocation(dataNodeId:-1, clientRpcEndPoint:TEndPoint(ip:0.0.0.0, port:6667), internalEndPoint:TEndPoint(ip:127.0.0.1, port:10730), mPPDataExchangeEndPoint:TEndPoint(ip:127.0.0.1, port:10740), dataRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10760), schemaRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10750)), resource:TNodeResource(cpuCoreNum:8, maxMemory:804257792)), versionInfo:TNodeVersionInfo(version:1.2.2, buildInfo:5d0bfb0)) with result TDataNodeRegisterResp(status:TSStatus(code:400, message:The current ConfigNode is not leader, please redirect to a new ConfigNode.), configNodeList:[]) 
   2023-12-05 19:37:48,295 [pool-13-IoTDB-ConfigNodeRPC-Processor-8] INFO  o.a.i.c.s.t.ConfigNodeRPCServiceProcessor:222 - Execute RegisterDataNodeRequest TDataNodeRegisterReq(clusterName:defaultCluster, dataNodeConfiguration:TDataNodeConfiguration(location:TDataNodeLocation(dataNodeId:-1, clientRpcEndPoint:TEndPoint(ip:0.0.0.0, port:6667), internalEndPoint:TEndPoint(ip:127.0.0.1, port:10730), mPPDataExchangeEndPoint:TEndPoint(ip:127.0.0.1, port:10740), dataRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10760), schemaRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10750)), resource:TNodeResource(cpuCoreNum:8, maxMemory:804257792)), versionInfo:TNodeVersionInfo(version:1.2.2, buildInfo:5d0bfb0)) with result TDataNodeRegisterResp(status:TSStatus(code:400, message:The current ConfigNode is not leader, please redirect to a new ConfigNode.), configNodeList:[]) 
   2023-12-05 19:37:55,306 [pool-13-IoTDB-ConfigNodeRPC-Processor-7] INFO  o.a.i.c.s.t.ConfigNodeRPCServiceProcessor:222 - Execute RegisterDataNodeRequest TDataNodeRegisterReq(clusterName:defaultCluster, dataNodeConfiguration:TDataNodeConfiguration(location:TDataNodeLocation(dataNodeId:-1, clientRpcEndPoint:TEndPoint(ip:0.0.0.0, port:6667), internalEndPoint:TEndPoint(ip:127.0.0.1, port:10730), mPPDataExchangeEndPoint:TEndPoint(ip:127.0.0.1, port:10740), dataRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10760), schemaRegionConsensusEndPoint:TEndPoint(ip:127.0.0.1, port:10750)), resource:TNodeResource(cpuCoreNum:8, maxMemory:804257792)), versionInfo:TNodeVersionInfo(version:1.2.2, buildInfo:5d0bfb0)) with result TDataNodeRegisterResp(status:TSStatus(code:400, message:The current ConfigNode is not leader, please redirect to a new ConfigNode.), configNodeList:[]) 
   
   
   
   
   2023-12-05 19:37:17,253 [main] WARN  o.a.i.db.service.DataNode:368 - Cannot register to the cluster, because: Error in calling method registerDataNode, because: Fail to connect to any config node. Please check status of ConfigNodes or logs of connected DataNode 
   2023-12-05 19:37:27,264 [main] WARN  o.a.i.d.p.c.ConfigNodeClient:308 - Failed to connect to ConfigNode TEndPoint(ip:127.0.0.1, port:10710) from DataNode TEndPoint(ip:0.0.0.0, port:6667), because the current node is not leader or not ready yet, will try again later 
   2023-12-05 19:37:34,274 [main] WARN  o.a.i.d.p.c.ConfigNodeClient:308 - Failed to connect to ConfigNode TEndPoint(ip:127.0.0.1, port:10710) from DataNode TEndPoint(ip:0.0.0.0, port:6667), because the current node is not leader or not ready yet, will try again later 
   2023-12-05 19:37:41,284 [main] WARN  o.a.i.d.p.c.ConfigNodeClient:308 - Failed to connect to ConfigNode TEndPoint(ip:127.0.0.1, port:10710) from DataNode TEndPoint(ip:0.0.0.0, port:6667), because the current node is not leader or not ready yet, will try again later 
   2023-12-05 19:37:48,296 [main] WARN  o.a.i.d.p.c.ConfigNodeClient:308 - Failed to connect to ConfigNode TEndPoint(ip:127.0.0.1, port:10710) from DataNode TEndPoint(ip:0.0.0.0, port:6667), because the current node is not leader or not ready yet, will try again later 
   
   
   
   i have no idea how to solve this , i run just one node 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@iotdb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org