flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aljoscha <...@git.apache.org>
Subject [GitHub] flink pull request #2174: [FLINK-4075] ContinuousFileProcessingCheckpointITC...
Date Tue, 28 Jun 2016 12:08:54 GMT
Github user aljoscha commented on a diff in the pull request:

    --- 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.");
    --- End diff --
    I think this should be `Preconditions.checkState()`.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message