Member since
07-29-2020
526
Posts
261
Kudos Received
157
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
100 | 09-03-2024 12:36 AM | |
134 | 08-30-2024 06:23 AM | |
263 | 08-26-2024 04:39 PM | |
200 | 08-21-2024 12:01 PM | |
201 | 08-10-2024 03:18 AM |
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
06-16-2022
02:41 PM
By the way what is inside the users.xml file?
... View more
06-16-2022
02:01 PM
Sure, I hope they can help. By the have you seen my comments above about defining the nodes in the auotherizers.xml with the following format (case sensitive): CN=masternode, OU=NIFI CN=workernode02, OU=NIFI CN=workernode03, OU=NIFI
... View more
06-16-2022
01:26 PM
Just to be on the safe side, can you define the nodes in the authorizers.xml as follows. Keep in mind when you define something in the nifi config files its is case sensitive. CN=masternode, OU=NIFI CN=workernode02, OU=NIFI CN=workernode03, OU=NIFI
... View more
06-16-2022
01:21 PM
@MattWho,@araujo , can you guys help?
... View more
06-16-2022
12:54 PM
Its hard to tell what is causing the error , the only thing for me is just verifying that you followed the steps accordingly to setup the cluster. One thing you did not mentioned is creating the myid file under the folder ./state/zookeeper on each node that defines the node number as mentioned in the url I provided before, did you do that?
... View more
06-16-2022
09:14 AM
What the screenshot is telling that its still initializing the data flow, so give it some time and refresh.
... View more
06-16-2022
07:24 AM
Sorry I forgot to mention that in the PutSql processor set the Batch Size property to 1
... View more
06-16-2022
07:07 AM
Have you added the nodes in the authorizers.xml under userGroupProvider and AccessPolicyProvider
... View more