[
https://issues.apache.org/jira/browse/FLINK-4075?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15352884#comment-15352884
]
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_r68744213
--- Diff:
flink-streaming-java/src/main/java/org/apache/flink/streaming/api/functions/source/ContinuousFileReaderOperator.java
---
@@ -405,6 +414,9 @@ public void restoreState(StreamTaskState state, long
recoveryTimestamp) throws E
S formatState = (S) ois.readObject();
// set the whole reader state for the open() to find.
+ Preconditions.checkArgument(this.readerState == null,
--- End diff --
This should also be `Preconditions.checkState`
> 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)