Re: Gelly Library. Need an example

2016-09-20 Thread Till Rohrmann
+1 for the either type solution :-) On Sat, Sep 17, 2016 at 10:49 AM, Martin Junghanns wrote: > Hi all, > > thanks for reporting the issue! I just looked into it. The > VertexGroupReduce outputs two semantically different tuples: one for each > vertex without the value

Re: Gelly Library. Need an example

2016-09-17 Thread Martin Junghanns
Hi all, thanks for reporting the issue! I just looked into it. The VertexGroupReduce outputs two semantically different tuples: one for each vertex without the value (null) and one tuple representing the whole group including the value. As Till pointed out, this crashes if the value has no

Re: Gelly Library. Need an example

2016-09-15 Thread Vasiliki Kalavri
Hi, thanks for looking into this Till! I'm not quite sure what the algorithm behavior should be when the vertex value is null (probably skip the record?). Let's wait for Martin's input. Cheers, -V. On 15 September 2016 at 19:19, Olga Golovneva wrote: > Hi Till, > > Thanks

Re: Gelly Library. Need an example

2016-09-15 Thread Till Rohrmann
Hi Olga, it’s indeed an error in Flink’s Summarization algorithm. The problem is the following: The vertex group value of the VertexGroupItem is null in the VertexGroupReducer. This works in the SummarizationIT case because the vertex value is of type String and the StringSerializer can deal with

Re: Gelly Library. Need an example

2016-09-15 Thread Olga Golovneva
Hi Till, I've created a simple (Java) example to show you what's going on. The code is in attachment and shown below. This example creates simple graph with Double EV and Long VV. Then it runs Summarization, that should compute a condensed version of the input graph by grouping vertices and edges

Re: Gelly Library. Need an example

2016-09-15 Thread Till Rohrmann
Hi Olga, can you provide us with a little bit more details about the problem. The full stack trace of the exception and the program you're trying to run would be helpful. Cheers, Till On Wed, Sep 14, 2016 at 9:49 PM, Olga Golovneva wrote: > Hi devs, > > Do you know if

Gelly Library. Need an example

2016-09-14 Thread Olga Golovneva
Hi devs, Do you know if there is an example (besides ITCase) of usage of Summarization Library in Gelly? I'm having some problems trying to use it in my code. Particularly, I cannot print output edges ( it throws the following exception: Exception in thread "main"