You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "mingleizhang (JIRA)" <ji...@apache.org> on 2017/04/19 03:47:41 UTC

[jira] [Commented] (FLINK-6311) NPE in FlinkKinesisConsumer if source was closed before run

    [ https://issues.apache.org/jira/browse/FLINK-6311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15974012#comment-15974012 ] 

mingleizhang commented on FLINK-6311:
-------------------------------------

[~tzulitai] I just watch FlinkKinesisConsumer which under the package of {code}org.apache.flink.streaming.connectors.kinesis{code} in the module flink-connector-kinesis.  And the flink-connector-kinesis is under the module of flink-connectors in which pom.xml dont contains the {code}flink-connector-kinesis{code}. I would think we should add the module {code} flink-connector-kinesis {code} in flink-connectors pom.xml and then return to this issue. How do you think of this ? 

> NPE in FlinkKinesisConsumer if source was closed before run
> -----------------------------------------------------------
>
>                 Key: FLINK-6311
>                 URL: https://issues.apache.org/jira/browse/FLINK-6311
>             Project: Flink
>          Issue Type: Bug
>          Components: Kinesis Connector
>            Reporter: Tzu-Li (Gordon) Tai
>
> This was reported by an user: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-errors-out-and-job-fails-IOException-from-CollectSink-open-td12606.html
> The {{shutdownFetcher}} method of {{KinesisDataFetcher}} is not protected against the condition when the source was closed before it started running. Both {{mainThread}} and {{shardConsumersExecutor}} should have null checks.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)