Star

nebula查询报Get neighbors failed

log.error("查询nebula异常 code:{}, msg:{}, nGql:{} ",
executionResponse.getError_code(), executionResponse.getError_msg(), statement);

查询nebula异常 code:-8, msg:Get neighbors failed

请问一下这个报错是什么问题啊?

麻烦贴一下 graph 和 storage的日志 看一下

怎么去实时查看这两层的日志呢?

日志里面 有时间记录的, 所以可以找到对应时间点的操作记录

cat nebula-graphd.WARNING | grep -A 20 ‘failed’
E0826 11:48:46.437038 86290 ExecutionPlan.cpp:76] Execute failed: lhs has error: OK rhs has error: Get neighbors failed
E1030 10:37:30.877055 86289 ExecutionPlan.cpp:76] Execute failed: lhs has error: Get neighbors failed rhs has error: OK
E0114 23:46:00.932181 86275 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 01:59:02.156363 86260 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 01:59:02.156374 86258 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 01:59:02.156391 86254 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 01:59:02.156405 86279 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 09:10:32.989081 86261 UpdateVertexExecutor.cpp:230] Maybe vertex does not exist, part: 18, error code: -11!
E0115 09:10:32.989123 86261 ExecutionPlan.cpp:76] Execute failed: Maybe vertex does not exist, part: 18, error code: -11!
E0115 10:03:53.315348 86264 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 10:39:27.649581 86267 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed
E0115 10:39:27.649601 86260 ExecutionPlan.cpp:76] Execute failed: Get neighbors failed

看这个日志报错是说没有顶点,但是查询这个顶点是存在的,而且这个顶点的的创建时间是早就有了

日志看得不太对,就直接在console查询一下,贴下graph和storage的info最新的日志

浙ICP备20010487号