You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@giraph.apache.org by Akshay Trivedi <tr...@gmail.com> on 2014/04/19 07:36:14 UTC
Difference in Input format and Vertex type
Hi,
Using giraph, I am taking input in the format
TextDoubleDoubleAdjacencyListVertexInputFormat and I want my Vertex to
be of type Vertex<Text,Text,DoubleWritable,Text> i.e vertex value in
input is in DoubleWritable and in program it is of type Text. Can this
be done in giraph i.e will giraph type cast it??
or what should I do to make them compatible?
Regards,
Akshay
Re: Difference in Input format and Vertex type
Posted by Lukas Nalezenec <lu...@firma.seznam.cz>.
Hi,
You have to customize the input format.
Regards,
Lukas
On 19.4.2014 07:36, Akshay Trivedi wrote:
> Hi,
> Using giraph, I am taking input in the format
> TextDoubleDoubleAdjacencyListVertexInputFormat and I want my Vertex to
> be of type Vertex<Text,Text,DoubleWritable,Text> i.e vertex value in
> input is in DoubleWritable and in program it is of type Text. Can this
> be done in giraph i.e will giraph type cast it??
> or what should I do to make them compatible?
>
> Regards,
> Akshay