New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FLINK-1515]Splitted runVertexCentricIteration into createVertexCentricIteration and runVertexCentricIteration #402
Conversation
Hi @martinkiefer! Thanks a lot for this pull request! I was only thinking that it would be nice to have an example that demonstrates how to use broadcast sets and / or aggregators now. It could simply be a slight modification of an existing example, e.g. SSSP with a counter of how many nodes have distance less than some value or similar. Could you make this addition? |
I could change |
151e4c3
to
671eb85
Compare
Thanks a lot @martinkiefer! +1 to merge from me :) |
Oh, one minor thing.. Could you prefix your commits with "[FLINK-1515] [gelly]" ? Thanks! |
…rtexIteration and runVertexIteration to make VertexCentricIteration object accessible to developers.
…y numberOfVertices() to read the number of vertices instead of passing it to the constructor.
671eb85
to
d8eb33c
Compare
Done |
👍 |
Hi,
Is this fixed by #422? Shall I proceed? |
I'm currently working on fixing this problem. You can ignore it for the On Fri, Feb 20, 2015 at 11:58 AM, Vasia Kalavri notifications@github.com
|
Thank you @tillrohrmann! Then, I'll go ahead and merge this :) |
…y numberOfVertices() to read the number of vertices instead of passing it to the constructor. This closes apache#402
I changed the process for running a vertex-centric iteration in Gelly into a two-step procedure:
createVertexCentricIteration
returns aVertexCentricIteration
object to allow developers to access features like broadcast data sets and aggregators.runVertexCentricIteration
expects aVertexCentricIteration
and returns theGraph
.This allows developers to use features like aggregators and broadcast data sets.