giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Storey <storey.j...@gmail.com>
Subject Re: Do vertices automatically get created when using the HiveEdgeInputFormat
Date Wed, 23 Oct 2013 00:10:00 GMT
Thanks for the quick response. I'll give it a try and post back if I run
into any problems.


On Tue, Oct 22, 2013 at 7:29 PM, Claudio Martella <
claudio.martella@gmail.com> wrote:

> the source vertex will be created automatically for you. if a vertex id
> (in your case v2 and v3) appear only in the "second column", the will be
> created only if (when) they receive a message.
>
>
> On Wed, Oct 23, 2013 at 12:37 AM, Jeff Storey <storey.jeff@gmail.com>wrote:
>
>> Hi, I'm new to giraph and had a question about creating a graph from a
>> list of edges. In a hive table, I have some data that looks like:
>>
>> inVertexId | outVertexId
>> v1              v2
>> v1              v3
>> and so on
>>
>> When loading data with the HiveEdgeInputFormat (or any edge input
>> format), do I need a separate input to create the vertices? Or will the
>> vertices for the graph automatically be created from the edges?
>>
>> I'm working on putting together an example to test this out, but I wanted
>> to check with the group to make sure I wasn't trying something that giraph
>> isn't designed to do.
>>
>> Thanks,
>> Jeff
>>
>
>
>
> --
>    Claudio Martella
>    claudio.martella@gmail.com
>

Mime
View raw message