- nebula 版本:3.2.0
- 部署方式:单机
- 安装方式:RPM
- 是否为线上版本:N
- 硬件信息
- 磁盘 SSD
报错信息
- 磁盘 SSD
2022/10/17 20:24:43 --- START OF NEBULA IMPORTER ---
2022/10/17 20:24:43 [INFO] config.go:399: find file: /home/hnu/zcl/1000.csv
2022/10/17 20:24:43 [INFO] config.go:393: Failed data path: err/course.csv/1000.csv
2022/10/17 20:24:43 [INFO] config.go:399: find file: /home/hnu/zcl/1000.csv
2022/10/17 20:24:43 [WARN] config.go:334: You have not configured the failed data output file path in: files[0].failDataPath, reset to default path: /home/hnu/zcl/err/1000.csv
2022/10/17 20:24:43 [WARN] config.go:573: Not set files[0].schema.edge.srcVID.Type, reset to default value `string'
2022/10/17 20:24:43 [WARN] config.go:573: Not set files[0].schema.edge.dstVID.Type, reset to default value `string'
2022/10/17 20:24:44 Client(0) fails to execute commands (DROP SPACE IF EXISTS 1000.csv;
CREATE SPACE IF NOT EXISTS 1000.csv (vid_type=FIXED_STRING(30));
USE 1000.csv;
CREATE TAG NebulaVertex(id string);
CREATE EDGE nebulaEdge(name weights);
), response error code: -1004, message: SyntaxError: syntax error near `1000.'
2022/10/17 20:24:45 --- END OF NEBULA IMPORTER ---
配置文件
version: v3
description: example
removeTempFiles: false
clientSettings:
retry: 3
concurrency: 10
channelBufferSize: 1024
space: 1000.csv
connection:
user: root
password: 123456
address: 127.0.0.1:9669
postStart:
commands: |
DROP SPACE IF EXISTS 1000.csv;
CREATE SPACE IF NOT EXISTS 1000.csv (vid_type=FIXED_STRING(30));
USE 1000.csv;
CREATE TAG NebulaVertex(id string);
CREATE EDGE nebulaEdge(name weights);
afterPeriod: 8s
preStop:
commands: |
USE 1000.csv;
logPath: ./err/l.log
files:
- path: ./1000.csv
batchSize: 4096
inOrder: false
type: csv
csv:
withHeader: false
withLabel: false
delimiter: ","
schema:
type: edge
edge:
name: nebulaEdge
withRanking: false
srcVID:
index: 0
dstVID:
index: 1
props:
- name: weights
type: string
index: 0
- name: leftVid
type: string
index: 0
- name: rightVid
type: string
index: 1
- path: ./1000.csv
failDataPath: ./err/course.csv
batchSize: 4096
inOrder: false
type: csv
csv:
withHeader: false
withLabel: false
delimiter: ","
schema:
type: vertex
vertex:
vid:
type: string
index: 0
tags:
- name: NebulaVertex
props:
- name: id
type: string
index: 0
求大佬帮我看看