Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

storm platform sometimes makes nodes with only merges #749

Open
johnynek opened this issue Sep 15, 2017 · 4 comments
Open

storm platform sometimes makes nodes with only merges #749

johnynek opened this issue Sep 15, 2017 · 4 comments

Comments

@johnynek
Copy link
Collaborator

in some cases, we see storm nodes that only have merges, then it finally fans out.

Something like:

val src1 = ...
val src2 = ...
val merged = src1 ++ src2
val sink1 = merged.sumByKey(store1)
val sink2 = merged.sumByKey(store2)

Things like this have created a node that just has the merge. There is no need to do this. Storm could just subscribe to all the dependencies of the "all-merge" node.

If there is a cheap fix to this, it would be great, because we have some giant topologies that have something like 5 of these.

cc @ianoc

@ianoc
Copy link
Collaborator

ianoc commented Sep 15, 2017

From https://github.com/twitter/summingbird/blob/develop/summingbird-online/src/main/scala/com/twitter/summingbird/planner/OnlinePlan.scala#L194

this looks like its not supported i think/is the expected behavior. Thats probably the location to fix too

@ianoc
Copy link
Collaborator

ianoc commented Sep 15, 2017

(i think conceptually what you have requires creating multiple merge nodes, I don't think we generated any new nodes in planning before which is probably what this hits)

@johnynek
Copy link
Collaborator Author

johnynek commented Sep 16, 2017 via email

@ianoc
Copy link
Collaborator

ianoc commented Sep 16, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants