提问参考模版:
- nebula 版本:
- 部署方式( 单机):
- 是否为线上版本:Y
- 硬件信息
- 磁盘( 30GSSD)
- 4G
- 问题的具体描述
- 相关的 meta / storage / graph info 日志信息(尽量使用文本形式方便检索)
刚刚部署完nebula数据库,console 和studio ,我首次创建spaces时显示no hosts ,不知道是什么意思,之前在虚拟机部署过docker方式的,没有出现这种问题。
2021/07/30 14:23:06 [INFO] connection pool is initialized successfully
Welcome to Nebula Graph!
(root@nebula) [(none)]> show spaces
+------+
| Name |
+------+
+------+
Empty set (time spent 1717/2439 us)
Fri, 30 Jul 2021 14:23:40 CST
(root@nebula) [(none)]> CREATE SPACE actors(partition_num=15, replica_factor=1, vid_type=fixed_string(30));
[ERROR (-8)]: No hosts!
Fri, 30 Jul 2021 14:23:47 CST
(root@nebula) [(none)]> show hosts
+---------+------+--------+--------------+---------------------+------------------------+
| Host | Port | Status | Leader count | Leader distribution | Partition distribution |
+---------+------+--------+--------------+---------------------+------------------------+
| "Total" | | | 0 | | |
+---------+------+--------+--------------+---------------------+------------------------+
Got 1 rows (time spent 1462/2204 us)
Fri, 30 Jul 2021 14:28:00 CST