nebula 2.5 部署启动异常

  • nebula 版本:2.5
  • 部署方式(分布式 / 单机 / Docker / DBaaS):单机
  • 是否为线上版本:Y / N
  • 硬件信息
    • 磁盘( 推荐使用 SSD)
    • CPU、内存信息
  • 问题的具体描述
  • 相关的 meta / storage / graph info 日志信息(尽量使用文本形式方便检索)

meta:

Log file created at: 2021/08/25 17:57:48
Running on machine: cw1
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0825 17:57:48.067675 299756 MetaDaemon.cpp:242] identify myself as "10.100.2.243":9559
I0825 17:57:48.088917 299756 NebulaStore.cpp:49] Start the raft service...
I0825 17:57:48.092975 299756 RaftexService.cpp:65] Init thrift server for raft service, port: 9560
I0825 17:57:48.094360 299811 RaftexService.cpp:98] Starting the Raftex Service
I0825 17:57:48.130622 299811 RaftexService.cpp:86] Starting the Raftex Service on 9560
I0825 17:57:48.130667 299811 RaftexService.cpp:110] Start the Raftex Service successfully
I0825 17:57:48.131059 299756 NebulaStore.cpp:82] Scan the local path, and init the spaces_
E0825 17:57:48.131129 299756 FileUtils.cpp:403] Failed to read the directory "data/meta/nebula" (2): No such file or directory
I0825 17:57:48.131505 299756 NebulaStore.cpp:172] Init data from partManager for "10.100.2.243":9559
I0825 17:57:48.131543 299756 NebulaStore.cpp:267] Create data space 0
I0825 17:57:48.186034 299756 RocksEngine.cpp:132] open rocksdb on data/meta/nebula/0/data
I0825 17:57:48.198192 299756 Part.cpp:52] [Port: 9560, Space: 0, Part: 0] Cannot fetch the last committed log id from the storage engine
I0825 17:57:48.198227 299756 RaftPart.cpp:297] [Port: 9560, Space: 0, Part: 0] There are 0 peer hosts, and total 1 copies. The quorum is 1, as learner 0, lastLogId 0, lastLogTerm 0, committedLogId 0, term 0
I0825 17:57:48.198443 299756 NebulaStore.cpp:332] Space 0, part 0 has been added, asLearner 0
I0825 17:57:48.198482 299756 NebulaStore.cpp:75] Register handler...
I0825 17:57:48.198493 299756 MetaDaemon.cpp:95] Waiting for the leader elected...
I0825 17:57:48.198505 299756 MetaDaemon.cpp:108] Leader has not been elected, sleep 1s
I0825 17:57:48.339072 299805 RaftPart.cpp:1018] [Port: 9560, Space: 0, Part: 0] Start leader election, reason: lastMsgDur 141, term 0
I0825 17:57:48.339156 299805 RaftPart.cpp:1168] [Port: 9560, Space: 0, Part: 0] Sending out an election request (space = 0, part = 0, term = 1, lastLogId = 0, lastLogTerm = 0, candidateIP = 10.100.2.243, candidatePort = 9560)
I0825 17:57:48.339180 299805 RaftPart.cpp:1127] [Port: 9560, Space: 0, Part: 0] Partition is elected as the new leader for term 1
I0825 17:57:48.339191 299805 RaftPart.cpp:1223] [Port: 9560, Space: 0, Part: 0] The partition is elected as the leader
I0825 17:57:49.198613 299756 KVBasedClusterIdMan.h:84] There is no clusterId existed in kvstore!
I0825 17:57:49.198654 299756 MetaDaemon.cpp:116] I am leader, create cluster Id
I0825 17:57:49.198659 299756 KVBasedClusterIdMan.h:31] Create ClusterId 5450138808218684936
I0825 17:57:49.198876 299802 KVBasedClusterIdMan.h:114] Put key __meta_cluster_id_key__, val 5450138808218684936
I0825 17:57:49.198973 299756 MetaDaemon.cpp:137] Get meta version is 2
I0825 17:57:49.199079 299802 MetaVersionMan.cpp:66] Write meta version 2 succeeds
I0825 17:57:49.199107 299756 MetaDaemon.cpp:164] Nebula store init succeeded, clusterId 5450138808218684936
I0825 17:57:49.199120 299756 MetaDaemon.cpp:255] Start http service
I0825 17:57:49.214202 299756 MetaDaemon.cpp:172] Starting Meta HTTP Service
I0825 17:57:49.218659 299915 WebService.cpp:131] Web service started on HTTP[19559], HTTP2[19560]
I0825 17:57:49.218741 299756 JobManager.cpp:53] JobManager initialized
I0825 17:57:49.218761 299756 MetaDaemon.cpp:286] Check and init root user
I0825 17:57:49.218806 299756 RootUserMan.h:31] Root user is not exists
I0825 17:57:49.218812 299756 RootUserMan.h:37] Init root user
I0825 17:57:49.219067 299756 MetaDaemon.cpp:312] The meta deamon start on "10.100.2.243":9559
I0825 17:57:49.219609 299921 JobManager.cpp:76] JobManager::runJobBackground() enter
I0825 17:57:50.111346 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9669, role = GRAPH
E0825 17:57:50.111642 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:57:50.151674 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9779, role = STORAGE
I0825 17:57:50.151734 300023 HBProcessor.cpp:40] Set clusterId for new host "10.100.2.243":9779!
E0825 17:57:50.151988 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:00.997439 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9669, role = GRAPH
E0825 17:58:00.997692 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:01.062222 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9779, role = STORAGE
E0825 17:58:01.063616 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:11.009709 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9669, role = GRAPH
E0825 17:58:11.009953 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:11.075340 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9779, role = STORAGE
E0825 17:58:11.075589 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:21.020902 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9669, role = GRAPH
E0825 17:58:21.021162 300023 ActiveHostsMan.cpp:256] Get last update time failed, error: E_KEY_NOT_FOUND
I0825 17:58:21.086129 300023 HBProcessor.cpp:35] Receive heartbeat from "10.100.2.243":9779, role = STORAG

storage:

Log file created at: 2021/08/25 17:57:48
Running on machine: cw1
Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
I0825 17:57:48.118747 299835 StorageDaemon.cpp:93] host = "10.100.2.243":9779
I0825 17:57:48.140054 299835 MetaClient.cpp:52] Create meta client to "10.100.2.243":9559
W0825 17:57:48.140177 299835 FileBasedClusterIdMan.cpp:46] Open file failed, error No such file or directory
I0825 17:57:50.152220 299886 MetaClient.cpp:2512] Persisit the cluster Id from metad 5450138808218684936
I0825 17:57:50.152293 299886 FileBasedClusterIdMan.cpp:23] Remove the existed file cluster.id
I0825 17:57:50.152424 299886 FileBasedClusterIdMan.cpp:36] Persiste clusterId 5450138808218684936 succeeded!
I0825 17:57:50.167191 299835 MetaClient.cpp:3223] Load leader of "10.100.2.243":9779 in 0 space
I0825 17:57:50.167251 299835 MetaClient.cpp:3229] Load leader ok
I0825 17:57:50.167884 299835 MetaClient.cpp:106] Register time task for heartbeat!
I0825 17:57:50.167909 299835 StorageServer.cpp:142] Init schema manager
I0825 17:57:50.167945 299835 StorageServer.cpp:145] Init index manager
I0825 17:57:50.167956 299835 StorageServer.cpp:148] Init kvstore
I0825 17:57:50.167989 299835 NebulaStore.cpp:49] Start the raft service...
I0825 17:57:50.185870 299835 RaftexService.cpp:65] Init thrift server for raft service, port: 9780
I0825 17:57:50.187736 300211 RaftexService.cpp:98] Starting the Raftex Service
I0825 17:57:50.296171 300211 RaftexService.cpp:86] Starting the Raftex Service on 9780
I0825 17:57:50.296227 300211 RaftexService.cpp:110] Start the Raftex Service successfully
I0825 17:57:50.296905 299835 NebulaStore.cpp:82] Scan the local path, and init the spaces_
E0825 17:57:50.296980 299835 FileUtils.cpp:403] Failed to read the directory "/home/data/nebula-2.5/data/storage/nebula" (2): No such file or directory
I0825 17:57:50.297276 299835 NebulaStore.cpp:172] Init data from partManager for "10.100.2.243":9779
I0825 17:57:50.297320 299835 NebulaStore.cpp:75] Register handler...
I0825 17:57:50.297333 299835 StorageServer.cpp:86] Starting Storage HTTP Service
I0825 17:57:50.299201 299835 StorageServer.cpp:90] Http Thread Pool started
I0825 17:57:50.310847 300348 WebService.cpp:131] Web service started on HTTP[19779], HTTP2[19780]
I0825 17:57:50.310935 299835 AdminTaskManager.cpp:17] max concurrenct subtasks: 10
I0825 17:57:50.311583 299835 AdminTaskManager.cpp:27] exit AdminTaskManager::init()
I0825 17:57:50.312777 300364 AdminTaskManager.cpp:89] waiting for incoming task
I0825 17:57:50.315490 300367 StorageServer.cpp:222] The admin service start on "10.100.2.243":9778
I0825 17:57:50.315980 300368 StorageServer.cpp:244] The internal storage service start(same with admin) on "10.100.2.243":9777
I0825 17:57:50.350777 300366 StorageServer.cpp:196] The storage service start on "10.100.2.243":9779

配置除了基本ip之外,只增加了 --timezone_name=CST-8
graph可以正常链接


但是无法创建space

系统时间比标准时间迟了2分钟,不知道是否有影响。

已经重新下载安装过了,且只修改了IP,还是这个报错。

去掉 “ON default”


主要是这个问题,meta的日志一直在刷这个报错

你不用管日志。
后面正常操作就可以了。
创建个space,后面应该就不刷这个log了

好的我这边试一下

此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。