flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg Hogan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-3335) DataSourceTask object reuse when disabled
Date Thu, 04 Feb 2016 13:45:39 GMT
Greg Hogan created FLINK-3335:

             Summary: DataSourceTask object reuse when disabled
                 Key: FLINK-3335
                 URL: https://issues.apache.org/jira/browse/FLINK-3335
             Project: Flink
          Issue Type: Bug
          Components: Distributed Runtime
    Affects Versions: 1.0.0
            Reporter: Greg Hogan
            Assignee: Greg Hogan

>From {{DataSourceTask.invoke()}}:

if ((returned = format.nextRecord(serializer.createInstance())) != null) {

The returned value ({{returned}}) must be copied rather than creating and passing in a new
instance. The {{InputFormat}} interface only permits the given object to be used and does
not require a new object to be returned otherwise.

This message was sent by Atlassian JIRA

View raw message