nubula-importer 2.0.1 Authentication fails, authenticate failed: wrong method name

  • nebula 版本:2.0.1

  • 部署方式(分布式 / 单机 / Docker / DBaaS):单机

  • 是否为线上版本:N

  • 硬件信息

    • 磁盘( 推荐使用 SSD):346G
    • CPU、内存信息:12核,128G
  • 问题的具体描述
    nebula-importer 导入g500d报错

    1 version: v2
    2 description: Graph500
    3 removeTempFiles: false
    4 clientSettings:
    5 retry: 3
    6 concurrency: 10
    7 channelBufferSize: 128
    8 space: Graph500
    9 connection:
    10 user: root
    11 password: nebula
    12 address: 192.168.20.31:9559
    13 logPath: ./Graph500.log
    14 files:
    15 - path: ./vertex.csv
    16 failDataPath: ./err/ve.csv
    17 batchSize: 128
    18 inOrder: false
    19 type: csv
    20 csv:
    21 withHeader: false
    22 withLabel: false
    23 delimiter: “\t”
    24 schema:
    25 type: vertex
    26 vertex:
    27 vid:
    28 index: 0
    29 tags:
    30 - name: ve
    31 props:
    32 - name: id
    33 type: int
    34 index: 0
    35
    36 - path: ./edge.csv
    37 failDataPath: ./err/ed.csv
    38 batchSize: 128
    39 inOrder: false
    40 type: csv
    41 csv:
    42 withHeader: false
    43 withLabel: false
    44 delimiter: “\t”
    45 schema:
    46 type: edge
    47 edge:
    48 name: ed
    49 srcVID:
    50 index: 0
    51 dstVID:
    52 index: 1

sudo docker run --rm -ti -v /home/tb/ty/Graph500/graph500/:/home/tb/ty/Graph500/graph500/ 192.168.20.81:5000/tools/vesoft-nebula-importer:20210630 --config /home/tb/ty/Graph500/graph500/graph500.yaml
2021/06/30 09:18:47 — START OF NEBULA IMPORTER —
2021/06/30 09:18:47 [WARN] config.go:491: Not set files[0].schema.vertex.vid.Type, reset to default value string' 2021/06/30 09:18:47 [WARN] config.go:491: Not set files[1].schema.edge.srcVID.Type, reset to default value string’
2021/06/30 09:18:47 [WARN] config.go:491: Not set files[1].schema.edge.dstVID.Type, reset to default value `string’
2021/06/30 09:18:47 [INFO] connection_pool.go:77: [nebula-clients] connection pool is initialized successfully
2021/06/30 09:18:47 Authentication fails, authenticate failed: wrong method name
2021/06/30 09:18:48 — END OF NEBULA IMPORTER —

你的机器能访问这个地址吗

可以的

从日志里看到多种错误:
1、没指定srcVID dstVID 类型,重置为string了;
2、建议检查graph服务配置,是否开启了用户身份验证。如果已开启身份验证,在使用importer时请注意身份正确。
开启身份验证

导入的时候没有开启身份验证。
换成了https://github.com/vesoft-inc/nebula-importer/releases/tag/v2.0.0-ga
go run ./importer.go --config /home/tb/ty/Graph500/graph500/graph500.yaml
导入还是同样的问题

导入进去了
把类型指定成type: int
把端口换成9669,之前是meta的9559

1 个赞

该话题在最后一个回复创建后30天后自动关闭。不再允许新的回复。

浙ICP备20010487号