使用python nebula2 graph_storage_client.scan_edge 无法获取边信息

  • nebula 版本:2.6.0
  • 部署方式:分布式
  • 安装方式:Docker
  • 是否为线上版本:Y / N
  • 硬件信息
    • 磁盘( 推荐使用 SSD)
    • CPU、内存信息
  • 问题的具体描述
    使用nebula2 graph_storage_client.scan_edge 后长时间无数据返回,就在next函数这里陷入里无尽等待一样。附上代码:

from nebula2.mclient import MetaCache, HostAddr
from nebula2.sclient.GraphStorageClient import GraphStorageClient

meta_cache = MetaCache([(‘10.1.48.164’, 9579), (‘10.1.48.164’, 9559), (‘10.1.48.164’, 9579)], 5000)

storage_addrs = [HostAddr(host=‘10.1.48.164’, port=9779),
HostAddr(host=‘10.1.48.164’, port=9789),
HostAddr(host=‘10.1.48.164’, port=9799)]
graph_storage_client = GraphStorageClient(meta_cache, storage_addrs)

resp = graph_storage_client.scan_edge(
space_name=‘services’,
edge_name=‘depend’)

while resp.has_next():
result = resp.next() #debug 模式下 这里无限等待了貌似
for edge_data in result:
print(edge_data)

  1. 检查客户端版本是否也是2.6.0
  2. 检查端口对不对 服务是正常运行吗

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