You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.
val source = spoutSource.flatMap(e => List(e))
source.sumByKey(store1).also(
source.flatMap(branchFlatMap).sumByKey(store2)
)
fails with java.lang.ClassCastException: java.lang.Integer cannot be cast to scala.Tuple2 exception in runtime.
The text was updated successfully, but these errors were encountered:
ttim
changed the title
Storm platform fails in case of sumByKey in one branch and flatMap in another with flatMaped source
Storm platform fails in case of sumByKey in one branch and flatMap in another with flatMaped source fails in runtime
Jun 3, 2017
In this PR I refactored `StormLaws` class with a way to test same `Producer` on both Storm and Memory platforms and compare their results. In future this approach can be extended to Scalding platform as well with a very unified way of testing.
Also I've included test for #725, where we build Storm topology which fails with `ClassCastException` in runtime.
Producer
fails with
java.lang.ClassCastException: java.lang.Integer cannot be cast to scala.Tuple2
exception in runtime.The text was updated successfully, but these errors were encountered: