You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/10/01 12:27:26 UTC
[jira] [Commented] (FLINK-2740) Create data consumer for Apache
NiFi
[ https://issues.apache.org/jira/browse/FLINK-2740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939642#comment-14939642 ]
ASF GitHub Bot commented on FLINK-2740:
---------------------------------------
Github user rmetzger commented on the pull request:
https://github.com/apache/flink/pull/1198#issuecomment-144688632
I followed the tutorial for Nifi that you posted into the pull request. Thanks a lot for the good instructions. I was able to start it and get it to run in a few minutes.
However, when starting the source topology, I got the following error:
```
10/01/2015 12:23:47 Source: Custom Source -> Map -> Sink: Unnamed(2/8) switched to RUNNING
10/01/2015 12:23:47 Source: Custom Source -> Map -> Sink: Unnamed(4/8) switched to FAILED
java.lang.NullPointerException
at org.apache.flink.streaming.connectors.nifi.NiFiSource.run(NiFiSource.java:65)
at org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:57)
at org.apache.flink.streaming.runtime.tasks.SourceStreamTask.run(SourceStreamTask.java:57)
at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:198)
at org.apache.flink.runtime.taskmanager.Task.run(Task.java:579)
at java.lang.Thread.run(Thread.java:745)
```
it seems that the `final Transaction transaction = client.createTransaction(TransferDirection.RECEIVE);` call is returning null.
This is what my NiFi screen looks like: http://i.imgur.com/FDFgrdu.png
> Create data consumer for Apache NiFi
> ------------------------------------
>
> Key: FLINK-2740
> URL: https://issues.apache.org/jira/browse/FLINK-2740
> Project: Flink
> Issue Type: New Feature
> Components: Streaming Connectors
> Reporter: Kostas Tzoumas
> Assignee: Joseph Witt
>
> Create a connector to Apache NiFi to create Flink DataStreams from NiFi flows
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)