Reputation: 162
I am using StateSpec in beam and running that with spark runner
I am getting following error
Exception in thread "main" java.lang.UnsupportedOperationException: Found StateId annotations on com.walmart.rum.StreamingApp$3, but DoFn cannot yet be used with state in the SparkRunner. at org.apache.beam.runners.spark.translation.TranslationUtils.rejectStateAndTimers(TranslationUtils.java:269)
So does this means we StateSpec is not entirely supported or some version it is supported ?
Upvotes: 0
Views: 150
Reputation: 1443
States and Timers are supported only in Batch mode and not supported in Streaming mode for Spark runner. It seems that you have streaming application and that is why it's failing.
Upvotes: 1