问题的具体描述
问题1. 将数据导入到Nebula Graph中,配置文件中是clientSettings里面的address是要配置所有IP
问题2. 搭建好Nebula Graph集群之后开始导入数据,出现Failed to open connection,但是登陆到Nebula Grpah是没有问题的
配置文件,多个IP也测试过
version: v1rc1
description: example
clientSettings:
concurrency: 10 # number of graph clients
channelBufferSize: 128
space: test
connection:
user: root
password: nebula
address: 192.168.5.91:9699
开始导入数据
2021/11/23 09:14:12 --- START OF NEBULA IMPORTER ---
2021/11/23 09:14:12 [WARN] config.go:217: Invalid retry option in clientSettings.retry, reset to 1
2021/11/23 09:14:12 [WARN] config.go:168: You have not configured whether to remove generated temporary files, reset to default value. removeTempFiles: false
2021/11/23 09:14:13 Failed to open connection, error: Failed to open transport, error: dial tcp 10.141.5.91:9699: connect: connection refused
2021/11/23 09:14:14 --- END OF NEBULA IMPORTER ---
Unable to find image 'vesoft/nebula-importer:v2' locally
v2: Pulling from vesoft/nebula-importer
ba3557a56b15: Pull complete
25c5e592e1ac: Pull complete
Digest: sha256:aa26c1971fb4e9a53fb35a3b4b3172590f70db15f9ec6d2a16dcf28798dca430
Status: Downloaded newer image for vesoft/nebula-importer:v2
2021/11/23 12:51:43 --- START OF NEBULA IMPORTER ---
2021/11/23 12:51:43 [WARN] config.go:217: Invalid retry option in clientSettings.retry, reset to 1
2021/11/23 12:51:43 [WARN] config.go:168: You have not configured whether to remove generated temporary files, reset to default value. removeTempFiles: false
2021/11/23 12:51:43 Failed to open connection, error: Failed to open transport, error: dial tcp 10.141.5.88:9699: connect: no route to host
2021/11/23 12:51:44 --- END OF NEBULA IMPORTER ---
➜ nebula-console git:(master) ✗ sudo /usr/local/nebula/scripts/nebula.service status all
[sudo] password for jianan:
[INFO] nebula-metad(5b83e5cb): Running as 20051, Listening on 9559
[INFO] nebula-graphd(ca585878): Running as 20116, Listening on 9669
[INFO] nebula-storaged(5b83e5cb): Running as 20133, Listening on 9779
配置文件? 我就是填了真实IP,
########## networking ##########
# Comma separated Meta Server Addresses
--meta_server_addrs=192.168.5.88:9559,192.168.5.91:9559,192.168.5.113:9559
# Local IP used to identify the nebula-graphd process.
# Change it to an address other than loopback if the service is distributed or
# will be accessed remotely.
--local_ip=192.168.5.88