Member since
04-11-2016
471
Posts
325
Kudos Received
118
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2681 | 03-09-2018 05:31 PM | |
| 3551 | 03-07-2018 09:45 AM | |
| 3240 | 03-07-2018 09:31 AM | |
| 5442 | 03-03-2018 01:37 PM | |
| 2951 | 10-17-2017 02:15 PM |
09-21-2016
10:40 AM
2 Kudos
@Zack Riesland You would have to use ExtractText processor to extract the path and set it as an attribute of your flow file. Then you can use this attribute using expression language in the next processors. Let's say you extract .* to put it as attribute "mypath", then in following processor, for properties accepting expression language, you can reference this value using ${mypath}. Hope this helps.
... View more
09-20-2016
04:15 PM
2 Kudos
Hi @François Robard, You may find interesting this article: https://community.hortonworks.com/articles/57304/supporting-custom-properties-for-expression-langua.html It supposes that the properties you are thinking about in the processors you use are supporting expression language.
... View more
09-20-2016
12:27 PM
There are two versions in play here: - HDF which is the stack from Hortonworks containing NiFi but not only (Kafka, Storm, ZK, ...). - Apache NiFi which is the release from the Apache community You are using HDF 1.2.0.1 which contains NiFi 0.6.0 + patches. Last week, HDF 2.0.0 has been released and is containing NiFi 1.0.0 + patches. As you can see, the NiFi release contained in HDP release can come with early patches to help users for a better integration.
... View more
09-20-2016
11:10 AM
2 Kudos
@François Robard, You will find the whole REST API documentation here : https://nifi.apache.org/docs/nifi-docs/rest-api/index.html By using the endpoints provided in the documentation, you can control NiFi in a scripted-manner using 'curl' (for example).
... View more
09-20-2016
11:08 AM
4 Kudos
@Gerd Koenig, it is not possible to use PutKafka with Kafka 0.9, it is necessary to use Publish/ConsumeKafka processors. Have a look here [1]. Besides i think those processors have been introduced from NiFi 0.7 [2] (Apache JIRA website seems to have some problems at the moment). [1] https://community.hortonworks.com/content/kbentry/57262/integrating-apache-nifi-and-apache-kafka.html [2] https://issues.apache.org/jira/browse/NIFI-1296
... View more
09-20-2016
10:09 AM
Hi, What version of Kafka are you using?
... View more
09-17-2016
06:07 PM
1 Kudo
Hi, It sounds like something really oriented for a specific case. Then I would try something custom to answer your specific need by using InvokeScriptedProcessor. For example, if you know that you have to wait for three flow files and that you have always only one "batch execution" at a time you could connect A to D, B to D, and C to D, D being an InvokeScriptedProcessor and use a code like: def flowFiles = session.get(3)
if (flowFiles.size() != 3) return
// my code here This way it will wait for your three flow files to be here, and once you have the three flow files, you can do whatever you want. Otherwise it may even be simpler to go for a custom processor.
... View more
09-15-2016
12:48 PM
OK, great, thanks for letting us know, I was about to make some tests!
... View more
09-15-2016
09:22 AM
4 Kudos
Hi, No Apache NiFi is not running on YARN. It does connect with elements running on YARN such as Storm, Spark, Hive, Hbase, etc. Apache NiFi itself is running as an independent JVM process (or multiple JVMs in cluster mode).
... View more
09-15-2016
09:20 AM
2 Kudos
Hi, Yes NiFi, by default, offers a very large number of processors to interact with other Apache softwares. Here is a non exhaustive list: Spark, Storm, Hive, HBase, Cassandra, Solr, Ignite, HDFS, Kafka, etc. You have the full list of available processors here: https://nifi.apache.org/docs/nifi-docs/
... View more