Member since
03-01-2024
14
Posts
13
Kudos Received
2
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1469 | 04-04-2024 12:13 AM | |
| 2341 | 03-18-2024 09:51 PM |
01-03-2025
09:08 AM
2 Kudos
I found one solution ... ( not the correct way) just remove nifi-standard-content-viewer-nar-2.0.0.nar from Lib folder and it will start working. Only issue with this approach is that you cannot view the flow file contents in JSON or any other format. You can view it only in Hex format (default)
... View more
11-29-2024
08:23 AM
Hello , I use "nifi.cmd start" to start with NIFI. Sometime it works and most of the times it doesn't. In case where NIFI doesn't work I am getting following logs : 2024-11-29 21:06:39,642 INFO [main] o.a.n.w.StandardContentViewerApplication Starting StandardContentViewerApplication using Java 21.0.2 with PID 24600 (D:\WorkingInstaller\2.0\nifi-2.0.0-bin\nifi-2.0.0\work\jetty\nifi-standard-content-viewer-2.0.0.war\webapp\WEB-INF\classes started by Riyaz in D:\WorkingInstaller\2.0\nifi-2.0.0-bin\nifi-2.0.0) 2024-11-29 21:06:39,643 INFO [main] o.a.n.w.StandardContentViewerApplication No active profile set, falling back to 1 default profile: "default" Any pointers would be appreciated. Thanks, Riyaz
... View more
Labels:
- Labels:
-
Apache MiNiFi
-
Apache NiFi
06-01-2024
08:35 PM
1 Kudo
Hello, I have Two Questions 1. In case of error , GenerateTableFetch is not getting routed to Failure. 2. GenerateTableFetch keep on trying . I need it should do this only once in case of error. Thanks, Riyaz
... View more
Labels:
- Labels:
-
Apache MiNiFi
-
Apache NiFi
05-09-2024
08:39 PM
1 Kudo
Used Option2 - Groovy script for this scenario.
... View more
04-21-2024
12:54 AM
1 Kudo
Hi, I want to change the flowfile content (json format) using UpdateRecord by providing property (to be change) from attribute. Here is the flowfile content here is the flowfile attribute I want to change the value of "id" in flowfile content using UpdateRecords like this : ( WHICH IS NOT WORKING ) This works but add a new property to existing flow file Here "id" got change because i provided "/id" (hardcoded property name) , i need same functionality to work with "/${col_name}" Any Pointers ... ????? Thanks, Riyaz
... View more
Labels:
- Labels:
-
Apache NiFi
04-04-2024
12:13 AM
1 Kudo
I got the Solution. Use UpdateAttribute processor and Expression Language. Here "SignedURL" is the attribute (containing complex Json) and from that I fetch particular Key value using Expression Language (JSONPATH)
... View more
04-04-2024
12:08 AM
1 Kudo
@saquibsk Thanks for Reply. Solution you have provided will work with content of flow file and not with the attribute. EvaluateJsonPath is use to evaluate the JSON present in flow file content. In my case , I have JSON present as attribute and not as content of flow file.
... View more
03-30-2024
12:00 AM
1 Kudo
How to Evaluate attribute (output of Invoke Http which is in JSON format) This attribute value contain a Json in the following format { location : { FileSource : "X" , URL : "Y"} } From this attribute value (Json), I need to extract File Source and URL and put it into another attribute with the same name. Note : Flow file Content should remain as it is. Any Pointer ..??
... View more
Labels:
- Labels:
-
Apache NiFi
03-18-2024
09:51 PM
3 Kudos
I am able to solve the problem Access token Rest API generates two token (check under cookies) - Secure-Request-Token and other is Secure-Authorization-Bearer token. While calling any of the other API (like creating Parameter Context or updating Parameter context) - in Headers provide one more header "Request-Token" with the value of _secure-Request-Token (From cookies).
... View more
03-12-2024
10:55 PM
1 Kudo
@ckumar Yes , i am able to do the changes via Nifi UI. Note : I have created the user user using following command : nifi.cmd set-single-user-credentials username password
... View more