溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊(cè)×
其他方式登錄
點(diǎn)擊 登錄注冊(cè) 即表示同意《億速云用戶服務(wù)條款》

Dev 日志 | 文章《快速體驗(yàn)知識(shí)圖譜 OwnThink》中的技術(shù)問題

發(fā)布時(shí)間:2020-08-17 09:01:15 來源:ITPUB博客 閱讀:155 作者:nebulagraph 欄目:數(shù)據(jù)庫

Dev 日志 | 文章《快速體驗(yàn)知識(shí)圖譜 OwnThink》中的技術(shù)問題

社區(qū)小伙伴反饋在實(shí)踐文章《 使用圖數(shù)據(jù)庫 Nebula Graph 數(shù)據(jù)導(dǎo)入快速體驗(yàn)知識(shí)圖譜 OwnThink》時(shí),遇到了一些問題,Nebula Graph 將在本文對(duì)該文章中出現(xiàn)的問題進(jìn)行 Debug。

報(bào)錯(cuò)信息:panic: yaml: line 14: mapping values are not allowed in this contex

使用 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

報(bào)錯(cuò)信息:writing tcp 127.0.0.1… write: broken_pipe

使用 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) 下載。

占用內(nèi)存過高

在部分低配置機(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

storage 啟動(dòng)過慢,報(bào) Internal error,或者報(bào)端口占用

當(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

其他修復(fù)信息

  • 修復(fù)了 storage client 在獲取 leader 信息時(shí)小概率 crash 的問題,pr 見: https://github.com/vesoft-inc/nebula/pull/1342
  • 修復(fù)了 meta client 在大壓力寫入的情況下的同時(shí) drop space 小概率 crash 的問題,pr 見: https://github.com/vesoft-inc/nebula/pull/1340

最后,附上 Nebula Graph GitHub 地址: https://github.com/vesoft-inc/nebula,如果你在使用 Nebula Graph 過程中遇到任何問題,歡迎 GitHub 聯(lián)系我們或者加入微信交流群,請(qǐng)聯(lián)系微信號(hào):NebulaGraphbot

推薦閱讀

  • 使用圖數(shù)據(jù)庫 Nebula Graph 數(shù)據(jù)導(dǎo)入快速體驗(yàn)知識(shí)圖譜 OwnThink

Dev 日志 | 文章《快速體驗(yàn)知識(shí)圖譜 OwnThink》中的技術(shù)問題

向AI問一下細(xì)節(jié)

免責(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)容。

AI