如何让giraph从多个输入路径读取数据。我在gora.properties中使用了这个
gora.avrostore.input.path=file:///path/to/file1.avro,file:///path/to/file2.avro = gora.datastore.default = org.apache.gora.avro.store.Avrostore
但它会显示以下错误:输入路径不存在: file:/ path /to/file1.avro,file:/path/to/file2.avro
发布于 2016-12-21 19:28:49
简短的回答:对不起,但似乎不可能。
长篇答案:
我不使用Giraph,但我知道Gora does not support multiple paths in AvroStore。
出于这种需要,Giraph应该实现创建2个DataStore连接(每个文件一个)的功能,但我猜它没有做到这一点(或者它做到了吗?)。
另一种方法是改进AvroStore以支持配置中的多个文件,但据我所知,您是第一个考虑这个问题的人。也许你会想要改进一下...:)
https://stackoverflow.com/questions/41259783
复制相似问题