incubator-retired-gearpump
incubator-retired-gearpump copied to clipboard
fix GEARPUMP-110, try streaming kmeans on Gearpump
+1, Thanks.
sorry, I was too optimistic previously. This example contains a cycle which cause the generation of process levels into dead loop. Please check https://github.com/apache/incubator-gearpump/blob/master/core/src/main/scala/io/gearpump/util/Graph.scala#L380
@manuzhang Yes, I find that vertexHierarchyLevelMap()
can cause dead loop if graph contains circle. But for topology sorting, the graph will call topologicalOrderWithCirclesIterator()
if contains circle. So can we make vertexHierarchyLevelMap()
possible to support circles in graph?
Yes, please create a jira issue and open an PR if you've got a solution.