I want to use import data with cvs file to Nebula Graph for testing, how to make sure if the data import is successful?
Asked
Active
Viewed 91 times
1 Answers
1
Firstly, there are some logs which could show you the progress of importing like the following messages:
importer_1 | 2019/12/13 06:58:55 [INFO] statsmgr.go:61: Done(/usr/local/nebula/importer/examples/student.csv): Time(0.03s), Finished(23), Failed(0), Latency AVG(1594us), Batches Req AVG(2509us), Rows AVG(717.33/s)
importer_1 | 2019/12/13 06:58:55 [INFO] reader.go:103: Total lines of file(/usr/local/nebula/importer/examples/follow.csv) is: 4, error lines: 0
importer_1 | 2019/12/13 06:58:55 [INFO] statsmgr.go:61: Done(/usr/local/nebula/importer/examples/student.csv): Time(0.03s), Finished(26), Failed(0), Latency AVG(1454us), Batches Req AVG(2323us), Rows AVG(763.83/s)
importer_1 | 2019/12/13 06:58:55 [INFO] reader.go:103: Total lines of file(/usr/local/nebula/importer/examples/student.csv) is: 3, error lines: 0
importer_1 | 2019/12/13 06:58:55 [INFO] statsmgr.go:61: Done(/usr/local/nebula/importer/examples/follow.csv): Time(0.03s), Finished(26), Failed(0), Latency AVG(1454us), Batches Req AVG(2323us), Rows AVG(760.51/s)
importer_1 | 2019/12/13 06:58:55 [INFO] httpserver.go:37: Shutdown http server listened on 5699
importer_1 | 2019/12/13 06:58:55 [INFO] cmd.go:31: Finish import data, consume time: 0.04s
The Finished
and Failed
counters will tell you the result of this process.
Secondly, you can check whether error data file named failDataPath
in YAML has any failed data. If the file is empty, all rows of the CSV data are inserted into Nebula successfully.

yee
- 575
- 5
- 11