This message was deleted.
# nebula
s
This message was deleted.
h
I am using docker command like below (after updating values)
Copy code
docker run --rm -ti \
    --network=host \
    -v {your-config-file}:{your-config-file} \
    -v {your-csv-data-dir}:{your-csv-data-dir} \
    vesoft/nebula-importer:{image_version}
    --config {your-config-file}
👍 1
j
It looks like a path mapping issue, how did you pass the path of the example.yaml to docker command exactly?
👍 1
w
@Himanshu Gupta could you please ensure this? 1. the --config <file_path> is the one inside the container after the mapping? 2. same applied to the path inside the config file you could verify this in the running container (i.e. by override entrypoint with a sh/bash)
h
I am running this command:
Copy code
docker run --rm -ti \
  --network=host \
  -v /home/ec2-user/nebula-importer/examples/v2:/tmp \
  vesoft/nebula-importer \
  --config /tmp/example.yaml
And getting this error now.
Copy code
2022/09/26 07:47:43 --- START OF NEBULA IMPORTER ---
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/choose.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course.csv/course.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course-with-header.csv/course-with-header.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course-with-header.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-with-label.csv/follow-with-label.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow-with-label.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-with-label-and-str-vid.csv/follow-with-label-and-str-vid.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow-with-label-and-str-vid.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow.csv/follow.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-glob.csv/glob-follow-1.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/glob-follow-1.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-glob.csv/glob-follow-2.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/glob-follow-2.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-with-header.csv/follow-with-header.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow-with-header.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/student.csv/student.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/student.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/student_index.csv/student.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/student.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/student_label_str_vid.csv/student-with-label-and-str-vid.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/student-with-label-and-str-vid.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow_index.csv/follow.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-delimiter.csv/follow-delimiter.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow-delimiter.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course-empty-props.csv/course.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course-multi-empty-props.csv/course.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course-mix-empty-props.csv/course.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/course-mix-empty-props-2.csv/course.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/course.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/follow-empty-props.csv/follow.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/follow.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/date_test.csv/date_test.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/date_test.csv
2022/09/26 07:47:43 [INFO] config.go:393: Failed data path: err/geography_test.csv/geography_test.csv
2022/09/26 07:47:43 [INFO] config.go:399: find file: /tmp/geography_test.csv
2022/09/26 07:47:43 [WARN] config.go:334: You have not configured the failed data output file path in: files[0].failDataPath, reset to default path: /tmp/err/choose.csv
2022/09/26 07:47:43 [INFO] config.go:473: files[2].schema.vertex is nil
is it related to some issue with the example yaml file?