[
https://issues.apache.org/jira/browse/FLINK-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352881#comment-15352881
]
ASF GitHub Bot commented on FLINK-4075:
---------------------------------------
Github user aljoscha commented on a diff in the pull request:
https://github.com/apache/flink/pull/2174#discussion_r68744158
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java
---
@@ -104,7 +104,13 @@ public void open() throws Exception {
this.collector = new TimestampedCollector<>(output);
this.checkpointLock = getContainingTask().getCheckpointLock();
+ Preconditions.checkArgument(reader == null, "The reader is
already initialized.");
+
this.reader = new SplitReader<>(format, serializer, collector,
checkpointLock, readerState);
+
+ // after initializing the reader, set the state to recovered
state
--- End diff --
Could you please clarify this sentence. I think something might be missing.
> ContinuousFileProcessingCheckpointITCase failed on Travis
> ---------------------------------------------------------
>
> Key: FLINK-4075
> URL: https://issues.apache.org/jira/browse/FLINK-4075
> Project: Flink
> Issue Type: Bug
> Components: Tests
> Affects Versions: 1.1.0
> Reporter: Till Rohrmann
> Assignee: Kostas Kloudas
> Priority: Critical
> Labels: test-stability
>
> The test case {{ContinuousFileProcessingCheckpointITCase}} failed on Travis.
> https://s3.amazonaws.com/archive.travis-ci.org/jobs/137748004/log.txt
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)