Titan と Faunus の両方をインストールしましたが、それぞれが正常に動作しているようです (titan-0.4.4 & faunus-0.4.4)
ただし、Titan でかなりのグラフを取り込み、それを Faunus にインポートしようとした後、
FaunusFactory.open( )
問題が発生しています。より正確に言うと、FaunusFactory.open( ) の呼び出しからファウナス グラフを取得しているようです。
faunusgraph[titanhbaseinputformat->titanhbaseoutputformat]
しかしその後、簡単な質問をしても
g.v(10)
私はこのエラーが発生します:
Task Id : attempt_201407181049_0009_m_000000_0, Status : FAILED
com.thinkaurelius.titan.core.TitanException: Exception in Titan
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.getAdminInterface(HBaseStoreManager.java:380)
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.ensureColumnFamilyExists(HBaseStoreManager.java:275)
at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.openDatabase(HBaseStoreManager.java:228)
私のプロパティ ファイルは、Hadoop クラスターの URL をもちろん変更することを除いて、Titan-HBase 入力を使用して Faunus ページから直接取得されます。
faunus.graph.input.format=com.thinkaurelius.faunus.formats.titan.hbase.TitanHBaseInputFormat
faunus.graph.input.titan.storage.backend=hbase
faunus.graph.input.titan.storage.hostname= my IP
faunus.graph.input.titan.storage.port=2181
faunus.graph.input.titan.storage.tablename=titan
faunus.graph.output.format=com.thinkaurelius.faunus.formats.titan.hbase.TitanHBaseOutputFormat
faunus.graph.output.titan.storage.backend=hbase
faunus.graph.output.titan.storage.hostname= IP of my host
faunus.graph.output.titan.storage.port=2181
faunus.graph.output.titan.storage.tablename=titan
faunus.graph.output.titan.storage.batch-loading=true
faunus.output.location=output1
zookeeper.znode.parent=/hbase-unsecure
titan.graph.output.ids.block-size=100000
誰でも助けることができますか?
補遺:
以下のコメントに対処するために、いくつかのコンテキストを示します。前述のように、Titan にグラフがあり、基本的な gremlin クエリを実行できます。
ただし、グラフのサイズのために Faunus とその基礎となる MR 機能を必要とする gremlin グローバル クエリを実行する必要があります。したがって、それをインポートする必要があります。私が得たエラーは、グラフ自体に矛盾があることを示しているようには見えません。