nebula-importer 导入数据问题

  • nebula 版本:2.0.0
  • 部署方式(分布式 / 单机 / Docker / DBaaS):单机
    -Nebula-Importer 的版本: 2.0.0
  • 是否为线上版本: N
  • 问题的具体描述


配置文件如下:

version: v1rc1
description: example
clientSettings:
  concurrency: 2 # number of graph clients
  channelBufferSize: 50
  space: csv_test
  connection:
    user: user
    password: password
    address: 172.17.5.41:9669
logPath: ./err/test.log
files:
  - path: /bykj/data/serve.csv
    failDataPath: ./err/serve.csv
    batchSize: 10
    type: csv
    csv:
      withHeader: false
      withLabel: false
    schema:
      type: edge
      edge:
        name: serve
        withRanking: false
        props:
          - name: start_year
            type: int
          - name: end_year
            type: int
  - path: /bykj/data/follow.csv
    failDataPath: ./err/follow.csv
    batchSize: 10
    type: csv
    csv:
      withHeader: false
      withLabel: false
    schema:
      type: edge
      edge:
        name: follow
        withRanking: false
        props:
          - name: degree
            type: int
  - path: /bykj/data/player.csv
    failDataPath: ./err/player.csv
    batchSize: 10
    type: csv
    csv:
      withHeader: false
      withLabel: false
    schema:
      type: vertex
      vertex:
        tags:
          - name: player
            props:
              - name: name
                type: string
              - name: age
                type: int
  - path: /bykj/data/team.csv
    failDataPath: ./err/team.csv
    batchSize: 10
    type: csv
    csv:
      withHeader: false
      withLabel: false
    schema:
      type: vertex
      vertex:
        tags:
          - name: team
            props:
              - name: name
                type: string

config.yaml (1.6 KB)

你的配置文件显示了你的 Nebula Importer 应该是 v1.x 版本的,然后你的 Nebula 版本又是 v2.0 版本的,所以你要去下载 v2.x 版本的 Nebula Importer:GitHub - vesoft-inc/nebula-importer: Nebula Graph Importer with Go

1 个赞