Questions tagged [apache-nifi]

Apache NiFi is an easy to use, powerful, and reliable distributed system to transform and distribute data.

About

Apache NiFi, formerly Niagara Files, is a powerful data routing and transformation system originally created by the United States National Security Agency (NSA). Flows of data and transformations are expressed using directed graphs of data routing, transformation, and system mediation logic nodes.

NiFi has been designed as a distributed system and, with careful design, works well where limited network connectivity is available - eg a satellite node may receive vast amounts of data, and then samples / summaries can be sent back to a central location over a link with limited bandwidth.

Further, the system maintains extensive data provenance records, and it is possible to inspect flows and see individual data items and the state of them after any transformations at any point in the flow.

Clarification of ownership & license

  1. The Apache Software Foundation is a non-profit organization which owns the intellectual property of Apache NiFi (among many other projects). The Apache License, version 2.0 (additional FAQ) dictates the use and reproduction of the NiFi source code. You can read more about The Apache Way to Sustainable Open Source Success.
  2. You do not need to purchase a license to use, consume, or repurpose the Apache NiFi source code or compiled executables. You only need to adhere to the requirements outlined in the license linked above.
  3. The open source NiFi community (PMC members, committers, contributors, etc.) are available to offer help for free. This is done via:
  1. Multiple vendors do support customers with regards to Apache NiFi. Some provide consulting advice, like answering questions around the software with a certain level of responsiveness or access to experts. Others provide services like flow design & optimization, integration with other software, etc. Some offer their own version of the software with additional features or for specific deployment platforms.
  2. Those vendors may charge for access to their support, warranty, education, services, custom software, etc., but they are not selling you a license to use "Apache NiFi" (if they are charging you just to gain access to Apache NiFi, remember that Apache software is always free to use).

Links

5112 questions
6
votes
1 answer

Spark Session returned an error : Apache NiFi

We are trying to run a spark program using NiFi. This is the basic sample we tried to follow. We have configured Apache-Livy server in 127.0.0.1:8998. ExecutiveSparkInteractive processor is used to run sample Spark code. val gdpDF =…
Sachith Muhandiram
  • 2,819
  • 10
  • 45
  • 94
6
votes
3 answers

NiFi: Failed to connect node to cluster because local flow is different than cluster flow

After rebooting the server, NiFi does not start. Before the server reboot, I was able to shutdown/start NiFi without any issues. I ensured that the 3 config files (flow.xml.gz, authorizations.xml, and users.xml) are identical on all the nodes.…
Vijay Kumar
  • 2,439
  • 2
  • 32
  • 51
6
votes
3 answers

Nifi multipart form

I’m trying to do a very simple multipart form post to an api. I can’t see any way of doing this in apache Nifi since it only seems to have one input for form data. There seem to be a lot of existing questions about this on here and the Nifi forum…
J.Zil
  • 2,397
  • 7
  • 44
  • 78
6
votes
1 answer

How Can Apache NiFi Flow Be Tested?

We have started using NiFi for a lot of our data pipeline jobs. One of things which is challenging in Nifi is to do regression testing of the changes to the flows. What are the common ways to handle unit and functional testing of NiFi flows? Are…
SunilS
  • 2,030
  • 5
  • 34
  • 62
6
votes
3 answers

NiFi after calling HTTP API, how to get original flowfile before calling HTTP API

I have the below sequence for calling rest API. Generate FLowfile processor-->jsonpath processor-->text replace processor(for post data creation)---> InvokeHTTP--->XPATH processor for attribute--->original flow file that is generated by generate…
ashok
  • 1,078
  • 3
  • 20
  • 63
6
votes
1 answer

Jolt transform json - how to add default fields

I have below input JSON: { "id": "2ef8a2ee-054f-4b43-956a-8aa4f51a41d5", "type": "VOICE", "tags": [ { "id": "some id 1", "description": "some description 1" }, { "id": "some id 2", "description": "some…
6
votes
2 answers

Apache Nifi failed to start web server (shutting down) during DocGenerator.generate()

Apache-Nifi v-1.7.1 was running fine on AWS Centos machine but now on restart it thrown following error: (below content of /nifi-app.log) org.apache.nifi:nifi-standard-nar:1.7.1 ||…
Zubair
  • 5,833
  • 3
  • 27
  • 49
6
votes
1 answer

Difference Between Processor Properties and Flowfile Attributes in Apache NiFi

My current understanding is that NiFi processor properties are specific to that processor. So adding a new property to a processor will only be visible within that processor and not be passed on to later processor blocks? This is why UpdateAttribute…
Adam
  • 4,590
  • 10
  • 51
  • 84
6
votes
1 answer

EvaluateJsonPath unable to return a scalar

I'm trying to extract a value from JSON to a flowfile-attribute. When I run the EvaluateJsonPath processor I get an error stating "Unable to get a scalar value for expression $..fields.storyBoard.stringValue. Input JSON looks like this: { "name"…
rennyB
  • 143
  • 3
  • 10
6
votes
2 answers

Integration and Unit testing Nifi process groups

I have a few Nifi process groups which I want to run integration tests on before promoting to production. The issue is that I can't seem to find any documentation on how to do so. Data Provenance seems like a promising tool to accomplish what I…
bryce
  • 479
  • 1
  • 6
  • 13
6
votes
1 answer

Nifi - how to add days to the date

Could somebody tell me how I can add x number of days to a date attribute that is in the format ("yyyy-MM-dd") in Nifi.
John
  • 187
  • 1
  • 3
  • 12
6
votes
2 answers

NiFi bypass host name verification in SSL context service

I am trying to connect to a REST endpoint via the GetHTTP Processor in NiFi 1.5.0. The problem that I am faceing is, that the SSL certificate is issued to the domain but I only have direct access to the IP:Port address (company firewall). With that…
Letimogo
  • 542
  • 3
  • 13
6
votes
1 answer

Nifi Merge Json Files Then Turn into JsonArray

Is there a processor / flow I am not considering when wanting to convert JsonMessages merged together (using MergeContent) into a JsonArray? I wanted to try to build JsonArrays from Multiple files and then pass to the QueryRecord to run SQL. Good…
scarpacci
  • 8,957
  • 16
  • 79
  • 144
6
votes
1 answer

APACHE NIFI invokeHTTP to get token issue

I got a secure cluster NIFI with 3 nodes, configured with truststore.jks and keystore.jks In my invokeHTTP, i've set "StandardSSLContextService" with keystore and trustore for https. invokeHTTP works when i'm trying…
Maykiwo GNO
  • 77
  • 2
  • 5
6
votes
1 answer

Need help on retrieving JSON attributes from a flow file in Apache NiFi

I'm trying to get the attribute values from a JSON file using EvaluvateJsonPath processer in NiFi. Below is the sample JSON file {"widget": { "debug": "on", "window": { "title": "Sample Konfabulator Widget", "name":…
Sathyaraj
  • 189
  • 6
  • 21