You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Syinchwun Leo (JIRA)" <ji...@apache.org> on 2016/12/02 01:57:58 UTC
[jira] [Created] (FLINK-5221) Checkpointed workless in Window
Operator
Syinchwun Leo created FLINK-5221:
------------------------------------
Summary: Checkpointed workless in Window Operator
Key: FLINK-5221
URL: https://issues.apache.org/jira/browse/FLINK-5221
Project: Flink
Issue Type: Bug
Components: DataStream API
Affects Versions: 1.1.3
Environment: SUSE
Reporter: Syinchwun Leo
When window OPERATOR making checkpoint like this:
class WindowStatistic extends WindowFunction[Event, Int, Tuple, TineWindow] with CHeckpointed[Option[List[Event]]] {
override def appley()....
override def snapshotState()...
override def restoreState()
}
Window Operator couldn't invoke user defined function "snapshotState()". In debug model, line 123 in AbstractUdfStreamOperator.java returns false and can't make user defined state when checking the window whether is a Checkpointed instance. I think there is something wrong in userFunction var, it's a ScalaWindowFunctionWrapper object and it couldn't reflect if the user defined window extend Checkpointed Interface. Actually, the user defined window is kept in "func" var of userFunction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)