edwng
1
我使用nightly镜像构建了集群(比如vesoft/nebula-metad:nightly,DIGEST:sha256:7c881606a5302e6d42ff7f134a019374832fcd7b5b202be7837d7ae1036f3a41),想要测试master分支的nebula-importer,因为说现在的importer跟2.6.0不兼容,但跑example中的测试样例的时候,总是出现如下的报错:
想问一下是什么原因?
docker-compose的yaml文件太长了,我就只贴一部分了,除了graphd的端口和镜像tag,其他的都和官方的一致
把yaml中ngql语句全部删掉,只保留create space 语句,执行看是不是也报错,如果报错的话感觉应该是服务端的问题
https://github.com/vesoft-inc/nebula/actions
看这边nightly 已经好久没有构建成功了,应该是镜像有问题
使用master 分支的console 连接nightly 集群执行创建空间也会报 Invalid param 这个错误
lzy
6
show hosts看一下呢,如果空的话,用add host xx.xx.xx.xx:storage_port 加一下storage的ip和端口试试
1 个赞
执行命令 add hosts 0.0.0.0:9779 后可以创建space, 但是 show hosts 还是为空。
(root@nebula) [(none)]> create space test_master2(partition_num=30, replica_factor=3, vid_type=int64)
Execution succeeded (time spent 5791/6527 us)
Thu, 23 Dec 2021 10:45:48 CST
(root@nebula) [(none)]> show hosts;
+---------+------+--------+--------------+---------------------+------------------------+
| Host | Port | Status | Leader count | Leader distribution | Partition distribution |
+---------+------+--------+--------------+---------------------+------------------------+
| "Total" | | | 0 | | |
+---------+------+--------+--------------+---------------------+------------------------+
Got 1 rows (time spent 2129/3014 us)
Thu, 23 Dec 2021 10:45:51 CST
edwng
9
所以我想用新版的nebula集群测试nebula-importer的话,应该用哪个版本的docker镜像?
steam
10
用和你 importer 版本对齐的 Nebula 版本号
system
关闭
12
此话题已在最后回复的 30 天后被自动关闭。不再允许新回复。