beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eugene Kirpichov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (BEAM-1182) Direct runner should enforce encodability of unbounded source checkpoints
Date Mon, 19 Dec 2016 21:25:58 GMT
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)

Mime
View raw message