Liyang,Take a look at VertexInputFormat and examples that implement it. Perhaps IntIntNullIntTextInputFormat would be a good example to start with and let us know if you have further questions.
Avery On 3/27/12 8:57 AM, Liyang wrote:
Hi all, My input file is smiles.gz type. I have the parsing program ready. But I don't know how to define the input format class in Giraph. I want to split the smiles file into several splits by rows. Could anybody help? Thanks. Regards, - Liyang