提问参考模版:
nebula 版本:2.0 GA
部署方式(分布式 / 单机 / Docker / DBaaS):单机
硬件信息
磁盘( 推荐使用 SSD)
CPU、内存信息 8核64G
问题的具体描述 用nebula-import导入数据后,查询报错
相关的 meta / storage / graph info 日志信息
nebula-import日志:
[root@host-10-33-220-159 ~]# ./nebula-importer --config configEdgenew.yaml
2021/04/01 16:50:05 --- START OF NEBULA IMPORTER ---
2021/04/01 16:50:05 [WARN] config.go:168: You have not configured whether to remove generated temporary files, reset to default value. removeTempFiles: false
2021/04/01 16:50:05 [INFO] connection_pool.go:74: [nebula-clients] connection pool is initialized successfully
2021/04/01 16:50:05 [INFO] clientmgr.go:28: Create 10 Nebula Graph clients
2021/04/01 16:50:05 [INFO] reader.go:64: Start to read file(0): /root/vertex.csv, schema: < :VID(string),question.subject:string,question.vertexType:string,question.listingStatus:int,question.reviewStatus:int >
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13112, error: record on line 13112: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13735, error: record on line 13735: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13787, error: record on line 13787: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13795, error: record on line 13795: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13953, error: record on line 13953: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13954, error: record on line 13954: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 13980, error: record on line 13980: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 14011, error: record on line 14011: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 14052, error: record on line 14052: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 14103, error: record on line 14103: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 14531, error: record on line 14531: wrong number of fields
2021/04/01 16:50:05 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 14649, error: record on line 14649: wrong number of fields
2021/04/01 16:50:06 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 19931, error: record on line 19931: wrong number of fields
2021/04/01 16:50:06 [ERROR] reader.go:169: Fail to read file(/root/vertex.csv) line 36381, error: record on line 36381: wrong number of fields
2021/04/01 16:50:07 [INFO] reader.go:180: Total lines of file(/root/vertex.csv) is: 192011, error lines: 14
2021/04/01 16:50:07 [INFO] statsmgr.go:61: Done(/root/vertex.csv): Time(1.96s), Finished(191997), Failed(0), Latency AVG(694us), Batches Req AVG(994us), Rows AVG(98004.26/s)
2021/04/01 16:50:08 Finish import data, consume time: 2.46s
2021/04/01 16:50:09 --- END OF NEBULA IMPORTER ---
LookUp语句:LOOKUP ON question WHERE question.vertexType == 'question’and question.listingStatus == 0 YIELD question.vertexType,question.subject,question.reviewStatus ,question.listingStatus|order by VertexID asc| limit 157700,10
报错如下:
(root@nebula) [edu_graph]> LOOKUP ON question WHERE question.vertexType == 'question'and question.listingStatus == 0 YIELD question.vertexType,question.subject,question.reviewStatus ,question.listingStatus|order by VertexID asc| limit 157700,10
2021/04/01 16:54:10 [ERROR] Error info: read tcp 10.33.220.159:58966->10.33.220.159:9669: i/o timeout
2021/04/01 16:54:10 Loop error, read tcp 10.33.220.159:58966->10.33.220.159:9669: i/o timeout
Bye root!
Thu, 01 Apr 2021 16:54:10 CST
panic: Loop error, read tcp 10.33.220.159:58966->10.33.220.159:9669: i/o timeout
goroutine 1 [running]:
log.Panicf(0x7906b8, 0xe, 0xc000117e78, 0x1, 0x1)
/opt/hostedtoolcache/go/1.14.15/x64/src/log/log.go:358 +0xc0
main.main()
/home/runner/work/nebula-console/nebula-console/main.go:386 +0x4e1