像wikitalk.txt这样的真实数据集的giraph格式是什么?

4dbbbstv  于 2021-05-27  发布在  Hadoop
关注(0)|答案(0)|浏览(240)

我使用giraph和一个真实的数据集,比如wikitalk.txt,经过大量搜索,我发现了这种格式
-eif org.apache.giraph.io.formats.intnulltextedgeinputformat
然后跑
$hadoop\u home/bin/hadoop jar$giraph\u home/giraph examples/target/giraph-examples-1.3.0-snapshot-for-hadoop-2.5.1-jar-with-dependencies.jar org.apache.giraph.giraphrunner org.apache.giraph.examples.simplepagerankcomputation-eif org.apache.giraph.io.formats.intnulltextedgeinputformat-vip/user/input/wikitalk.txt-voforg.apache.giraph.io.formats.idwithvaluetextoutputformat-op/user/hduser/output/wiki\u output-w 4-mc org.apache.giraph.examples.simplePagerankCompute$simplepagerankmastercompute
但它不起作用,发现了这个例外
检查类类型:顶点索引类型不可分配,计算-类org.apache.hadoop.io.longwritable,edgeinputformat-类org.apache.hadoop.io.nullwritable
我尝试了很多格式,但都不管用。

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题