ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anton Vinogradov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-3303) Apache Flink Integration - Flink source to run a continuous query against one or multiple caches
Date Fri, 18 Nov 2016 09:27:59 GMT

    [ https://issues.apache.org/jira/browse/IGNITE-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676280#comment-15676280

Anton Vinogradov commented on IGNITE-3303:


1) Seems you fix not works. 

I set brakepoint at before last test and I see a lot of theads at {{IgniteSource.run}} 
"Source: Custom Source -> Sink: Unnamed (1/1)@6026" daemon prio=5 tid=0x7e nid=NA runnable
  java.lang.Thread.State: RUNNABLE
	  at org.apache.ignite.source.flink.IgniteSource.run(IgniteSource.java:153)
	  at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:78)
	  at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:56)
	  at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:224)
	  at org.apache.flink.runtime.taskmanager.Task.run(Task.java:559)
	  at java.lang.Thread.run(Thread.java:745)

In other works in first test we have 1 {{IgniteSource}}, in second we have 2 and so on. This
seems to be not what we expected.

As I told before {{IgniteSource.cancel()}} will not stop {{IgniteSource}} in case it runned
from test. It should be runned from {{StreamExecutionEnvironment}} somehow. 

Please fix this and make sure that tests work properly.
Btw, we can discuss this by skype before fixing.

> Apache Flink Integration - Flink source to run a continuous query against one or multiple
> ------------------------------------------------------------------------------------------------
>                 Key: IGNITE-3303
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3303
>             Project: Ignite
>          Issue Type: New Feature
>          Components: streaming
>            Reporter: Saikat Maitra
>            Assignee: Saikat Maitra
>         Attachments: Screen Shot 2016-10-07 at 12.44.47 AM.png, testFlinkIgniteSourceWithLargeBatch.log,
> Apache Flink integration 
> +++ *Ignite as a bidirectional Connector* +++
> As a Flink source => run a continuous query against one or multiple
> caches [4].
> Related discussion : http://apache-ignite-developers.2346864.n4.nabble.com/Apache-Flink-lt-gt-Apache-Ignite-integration-td8163.html

This message was sent by Atlassian JIRA

View raw message