2017-06-06 108 views
0

我正在嘗試將我的tinkertop版本升級到3.2.4版本。目前我正在使用titan-1.0.0-hadoop1版本。因爲它沒有嵌入最近的tinkertop(gremlin)版本。我想升級。使用TITAN DB手動安裝gremlin服務器

我下面的步驟:1. 下載小鬼服務器3.2.4版本,將其解壓縮 2.編輯GREMLIN_SERVER_HOME/conf目錄/精怪-server.yaml和包括 以下設置爲默認值:

  graphs: { 
        graph: conf/titan-berkeleydb.properties} 
        plugins: 
        - aurelius.titan 
        } 
    3. then in terminal I ran the following command 
     bin/gremlin-server.sh -i com.thinkaurelius.titan titan-core 1.0.0 

我收到以下錯誤

DependencyGrabber $ _copyTo_closure6第三步之後 - 複製 - /home/titan123/Downloads/apache-tinkerpop-gremlin-server-3.2.4/ext/titan-core/plugin /jsr305-3.0.0.jar 無法安裝依賴項:java.lang.NullPointerException:無法在空對象上獲取屬性'mainAttributes'

+0

@stephen mallette向後兼容請給這個 –

回答

1

這對您而言將會花費相當多的努力。如果這是一個問題,我強烈建議使用JanusGraph而不是Titan。 https://github.com/JanusGraph/janusgraph/pull/78解決了將分叉Titan代碼庫(現在爲JanusGraph)更新爲3.2.3

泰坦不再被維護,但由JanusGraph項目分叉,其中有很多活躍的開發項目。目前的版本(0.1.1截至發稿時)是泰坦1.0.0

http://janusgraph.org/

+0

pantalohnes感謝評論。在過去的兩週裏,我真的非常頭痛。感謝您給我解決方案。 –