You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Eugene Kirpichov (JIRA)" <ji...@apache.org> on 2016/12/19 21:25:58 UTC
[jira] [Created] (BEAM-1182) Direct runner should enforce
encodability of unbounded source checkpoints
Eugene Kirpichov created BEAM-1182:
--------------------------------------
Summary: Direct runner should enforce encodability of unbounded source checkpoints
Key: BEAM-1182
URL: https://issues.apache.org/jira/browse/BEAM-1182
Project: Beam
Issue Type: Improvement
Reporter: Eugene Kirpichov
Assignee: Thomas Groh
As far as I can tell, https://github.com/apache/incubator-beam/blob/master/runners/direct-java/src/main/java/org/apache/beam/runners/direct/UnboundedReadEvaluatorFactory.java currently uses the reader's getCheckpoint() only as an in-memory object, i.e. it's not exercising that 1) the checkpoint can be encoded at all, and 2) that the reader can be resumed from an encoded/decoded checkpoint.
I've seen cases in code reviews where people implemented a non-serializable checkpoint, and direct runner tests didn't catch that because of this issue.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)