您好,登錄后才能下訂單哦!
社區(qū)小伙伴反饋在實(shí)踐文章《 使用圖數(shù)據(jù)庫 Nebula Graph 數(shù)據(jù)導(dǎo)入快速體驗(yàn)知識(shí)圖譜 OwnThink》時(shí),遇到了一些問題,Nebula Graph 將在本文對(duì)該文章中出現(xiàn)的問題進(jìn)行 Debug。
使用 nebula-importer 時(shí),報(bào)錯(cuò):
panic: yaml: line 14: mapping values are not allowed in this contex
這個(gè)錯(cuò)誤原因是 config.yaml 文件里的第一個(gè)
**- path**
字段沒對(duì)齊,更改方式是在第一個(gè)
- path
字段前面加個(gè)空格。該錯(cuò)誤在最新打包的 oss 包里已經(jīng)更正。更改之后的配置文件可去 GitHub (鏈接:
https://github.com/jievince/rdf-converter/blob/master/rdf-import.yaml)或者直接復(fù)制下面信息。
version: v1rc1
description: example
clientSettings:
concurrency: 10 # number of graph clients
channelBufferSize: 128
space: test
connection:
user: user
password: password
address: 127.0.0.1:3699
logPath: ./err/test.log
files:
- path: ./vertex.csv
failDataPath: ./err/vertex.csv
batchSize: 100
type: csv
csv:
withHeader: false
withLabel: false
schema:
type: vertex
vertex:
tags:
- name: entity
props:
- name: name
type: string
- path: ./edge.csv
failDataPath: ./err/edge.csv
batchSize: 100
type: csv
csv:
withHeader: false
withLabel: false
schema:
type: edge
edge:
name: relation
withRanking: false
props:
- name: name
type: string
使用 nebula-importer 導(dǎo)數(shù)據(jù)的過程中,報(bào)
writing tcp 127.0.0.1... write: broken_pipe
錯(cuò)誤信息,這個(gè)報(bào)錯(cuò)是 Nebula Graph 的一個(gè) bug 導(dǎo)致,已在本次 rc2 (預(yù)發(fā)布)更新包內(nèi)修復(fù),請(qǐng)去 GitHub (鏈接:
https://github.com/vesoft-inc/nebula/releases/tag/v1.0.0-rc2) 下載。
在部分低配置機(jī)器上內(nèi)存不夠的問題,原默認(rèn)配置針對(duì) 64 GB 以上內(nèi)存的機(jī)型。更改了默認(rèn) partition 數(shù)量, 默認(rèn) wal 文件大小和 wal buffer 大小。pr 見: https://github.com/vesoft-inc/nebula/pull/1330
當(dāng)有大量數(shù)據(jù)時(shí),storage 突然 failover 后,存在啟動(dòng)過程數(shù)據(jù)加載過慢,報(bào) Internal error,或者報(bào)端口占用的等問題,目前已被修復(fù)。pr 見: https://github.com/vesoft-inc/nebula/pull/1341
最后,附上 Nebula Graph GitHub 地址: https://github.com/vesoft-inc/nebula,如果你在使用 Nebula Graph 過程中遇到任何問題,歡迎 GitHub 聯(lián)系我們或者加入微信交流群,請(qǐng)聯(lián)系微信號(hào):NebulaGraphbot
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。