Re: A Giraph Input Problem: Reading Two One Value from a Vertex

2015-06-07 Thread Sergey Edunov
Hi Cristian, You need to make TripletVertexWritable class public. It is package protected now, so reflection utils can't create an instance. In general, all writable classes should be public with public default constructor. Regards, Sergey Edunov On Sun, Jun 7, 2015 at 9:41 AM, Cristian Vidal Si

A Giraph Input Problem: Reading Two One Value from a Vertex

2015-06-07 Thread Cristian Vidal Silva
Hey Everione. I need to read vertices in the format [Id, Val1, Val2, [[taget1, weight1], [target2, weight2]..]], and I want to get out simply the sum of its vertex values... For example, for the tiny_graph.txt file: [0,1,2,[[1,1],[3,3]]] [1,3,4,[[0,1],[2,2],[3,1]]] [2,5,5,[[1,2],[4,4]]] [3,6,7,