1

如何让 giraph 从多个输入路径读取数据。我在 gora.properties 中使用它

gora.datastore.default = org.apache.gora.avro.store.Avrostore gora.avrostore.input.path=file:///path/to/file1.avro,file:///path/to/file2.avro

但它给出了这个错误 Input path does not exist: file:/path/to/file1.avro,file:/path/to/file2.avro

4

1 回答 1

0

简短的回答:对不起,但似乎不可能。

长答案:

我不使用 Giraph,但我知道 Gora不支持 AvroStore 中的多个路径

出于这种需要,Giraph 应该是实现该功能的人,它创建 2 个 DataStore 连接(每个文件一个),但我想它不会这样做(或者是这样吗?)。

另一种方法是改进AvroStore以支持配置中的多个文件,但据我所知,您是第一个考虑它的人。也许您想做出改进... :)

于 2016-12-21T11:28:48.837 回答