Closed Godlikemandyy closed 3 years ago
修改对应的ip和port后,运行一直出现如下找不到对应spacename: Traceback (most recent call last): File "F:/dongao_dyy/pycharm_projects/hanlp_extract/connect/ngdb_handle.py", line 126, in scan_person_vertex(graph_storage_client) File "F:/dongao_dyy/pycharm_projects/hanlp_extract/connect/ngdb_handle.py", line 51, in scan_person_vertex limit=100) File "D:\Anaconda3\envs\hanlp\lib\site-packages\nebula2_python-2.0.0-py3.7.egg\nebula2\sclient\GraphStorageClient.py", line 98, in scan_vertex part_leaders = self._meta_cache.get_part_leaders(space_name) File "D:\Anaconda3\envs\hanlp\lib\site-packages\nebula2_python-2.0.0-py3.7.egg\nebula2\mclientinit.py", line 326, in get_part_leaders raise SpaceNotFoundException(space_name) nebula2.Exception.SpaceNotFoundException: ScanSpace 明明已经存在space:ScanSpace为什么总报这个错误,望指教!!!
9779 是storage的端口,你要用metad的端口9559。例子里面已经说明用的是metad的端口。
修改对应的ip和port后,运行一直出现如下找不到对应spacename: Traceback (most recent call last): File "F:/dongao_dyy/pycharm_projects/hanlp_extract/connect/ngdb_handle.py", line 126, in
scan_person_vertex(graph_storage_client)
File "F:/dongao_dyy/pycharm_projects/hanlp_extract/connect/ngdb_handle.py", line 51, in scan_person_vertex
limit=100)
File "D:\Anaconda3\envs\hanlp\lib\site-packages\nebula2_python-2.0.0-py3.7.egg\nebula2\sclient\GraphStorageClient.py", line 98, in scan_vertex
part_leaders = self._meta_cache.get_part_leaders(space_name)
File "D:\Anaconda3\envs\hanlp\lib\site-packages\nebula2_python-2.0.0-py3.7.egg\nebula2\mclient__init__.py", line 326, in get_part_leaders
raise SpaceNotFoundException(space_name)
nebula2.Exception.SpaceNotFoundException: ScanSpace
明明已经存在space:ScanSpace为什么总报这个错误,望指教!!!