版本:V3.0.1
部署方式:三台机器,每台机器上都部署metad、storaged、graphd三个进程
使用 /usr/local/nebula/scripts/nebula.service start all
再使用 /usr/local/nebula/scripts/nebula.service status all
结果
(root@nebula) [(none)]> show hosts
Execution succeeded (time spent 0/10441 us)
Mon, 16 May 2022 16:16:16 CST
(root@nebula) [(none)]> show hosts
storaged当前的warning日志如下:
Log line format: [IWEF]yyyymmdd hh:mm:ss.uuuuuu threadid file:line] msg
W20220516 14:56:27.583027 4871 RaftexService.cpp:179] Cannot find the part 41 in the graph space 37
W20220516 14:56:28.306037 4869 RaftexService.cpp:179] Cannot find the part 62 in the graph space 37
W20220516 14:56:39.546406 4867 RaftPart.cpp:1001] [Port: 44501, Space: 1, Part: 9] Only 0 hosts succeeded, Need to try again
E20220516 15:49:57.402633 4918 Host.cpp:220] [Port: 44501, Space: 37, Part: 90] [Host: 10.210.199.84:44501] Failed to append logs to the host (Err: E_RAFT_UNKNOWN_PART)
metad 的warning日志如下:
W20220516 14:50:50.221231 25048 RaftexService.cpp:179] Cannot find the part 0 in the graph space 0
W20220516 14:50:51.239122 25048 RaftPart.cpp:1122] [Port: 45501, Space: 0, Part: 0] Receive response about askForVote from "10.210.199.83":45501, error code is E_RAFT_LOG_STALE, isPreVote = 1
W20220516 14:50:53.157428 26301 RaftPart.cpp:361] [Port: 45501, Space: 0, Part: 0] The partition is not a leader
W20220516 14:50:53.157476 26301 RaftPart.cpp:696] [Port: 45501, Space: 0, Part: 0] Cannot append logs, clean the buffer
E20220516 14:56:26.529042 26301 HBProcessor.cpp:38] Machine "10.210.199.82":44500 is not registed
E20220516 15:49:56.323539 26301 HBProcessor.cpp:38] Machine "10.210.199.84":44500 is not registed