Member since
07-29-2020
574
Posts
323
Kudos Received
176
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2111 | 12-20-2024 05:49 AM | |
| 2404 | 12-19-2024 08:33 PM | |
| 2157 | 12-19-2024 06:48 AM | |
| 1441 | 12-17-2024 12:56 PM | |
| 2048 | 12-16-2024 04:38 AM |
07-01-2022
05:50 AM
hi, Is there a reason that you want to create your own fetch files processor vs using the existing processors like: GetFile or FetchFile
... View more
06-30-2022
03:14 PM
Hi, Similar question was asked before. Can you please check this post: https://community.cloudera.com/t5/Support-Questions/How-to-load-json-record-to-postgres-as-json-datatype/m-p/345779#M234644
... View more
06-28-2022
11:49 AM
1 Kudo
Hi, It all depends how the output is getting generated. you probably need the processor that fetch the DB record to run on primary node first and then do load balancing downstream to process each record on a different node.
... View more
06-28-2022
06:28 AM
1 Kudo
Hi, Have you tried GenerateTableFetch processor. It can do incremental by saving maximum value for given column\s. Regarding the join why dont you create a view that does all the needed join and use that as an input for the GenerateTableFetch processor Table Name property.
... View more
06-20-2022
08:23 AM
Please check this old post on how to connect to mysql I assume its similar to oracle: https://community.cloudera.com/t5/Support-Questions/how-to-configure-and-connect-mysql-with-nifi-and-perform/td-p/109478
... View more
06-20-2022
06:40 AM
I apologize for that, I hope someone else step in and help you with better solution. May I just know why it did not help?
... View more
06-20-2022
06:25 AM
I thought we discussed this here: https://community.cloudera.com/t5/Support-Questions/How-to-load-json-record-to-postgres-as-json-datatype/m-p/345779#M234644
... View more
06-20-2022
06:11 AM
1 Kudo
This is not efficient and will use a lot of heap depending on how big the list and the json array. Can you explain more what are you trying to do and why you want to create different variable for each json flowfile? Maybe there is a better way.
... View more
06-20-2022
06:06 AM
1 Kudo
Hi, The string you are getting is not a valid json, so you need to use ExecuteScript Processor to parse the string and convert into array and then convert the array into json array. You can convert this string into array by removing curly brackets and then do split(',') then you can convert the array into json using something like: https://www.javaguides.net/2019/07/convert-set-to-json-array-using-jackson.html Pass the converted Json Array as new flowfile from the ExecuteScript Processor. Lets assume that your json array looks like this: ["1","1","1","3465689","B4:E6:2D:34:E1:D9"...] Then you use Json Jolt Processor and pass the following Jolt Spec: [ { "operation": "shift", "spec": { "*": { "@0": "Value-&0" } } } ] which will give the new flowfile as follows: { "Value-0" : "1", "Value-1" : "1", "Value-2" : "1", "Value-3" : "3465689", "Value-4" : "B4:E6:2D:34:E1:D9" ... } Hope that helps. If it does please accept solution. Thanks Samer
... View more
06-18-2022
08:54 AM
Hi, Which system did you install Nifi on ? If windows try to click any Java job running in the background and restart nifi.
... View more