Member since
07-29-2020
500
Posts
232
Kudos Received
148
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
107 | 07-23-2024 02:34 AM | |
167 | 07-20-2024 05:51 PM | |
257 | 07-12-2024 03:05 AM | |
309 | 07-11-2024 03:44 AM | |
176 | 07-11-2024 02:57 AM |
05-31-2022
05:55 PM
Hi, What are you trying to do with those attributes? It doesnt make sense that you need to create an attribute for each year value
... View more
05-25-2022
08:18 AM
In this case I would suggest you write custom code through ExecuteScript processor to see if you can retrieve such error message. Not sure what else you can do. sorry
... View more
05-25-2022
08:03 AM
I'm not sure why your spec is producing this result, but to resolve it you can do the transformation on two shift operations: First to flatting json and move the subarray level to the root level and second to move the result and store it into an Array. Here is the spec I tried and it worked: [ { "operation": "shift", "spec": { "MainArray": { "*": "ResultArray.&", "Subarray": { "*": "ResultArray.&" } } } }, { "operation": "shift", "spec": { "ResultArray": { "*": { "$": "ResultArray[#2][0]", "@": "ResultArray[#2][1]" } } } } ]
... View more
05-25-2022
07:06 AM
The ValidateXML processor will write the error to the attribute "validatexml.invalid.error". Check for that attribute when the flowfile is directed to the invalid relationship. Hope that helps
... View more
05-24-2022
05:43 AM
2 Kudos
Hi, Since you are looking for the DB auto generated ID for the City , your best option is to use the LookupRecord Processor , so the flow if your datapipeline will look something like this: GetFile Processor (To the content of the CSV) SplitRecord ( to split Records in the CSV) [Insert the City Info to the DB First] LookupRecord ( to get the ID of the City and enrich you CSV with ID. The Lookup Service should be DB Lookup Service that points to the City Table and Use City Name as Key) [Finally Insert the Person Information with City ID added to the original csv record] To Learn more about LookupRecord, you can watch this video: https://www.youtube.com/watch?v=bSJ5reO8AA4 To learn more about the L
... View more
05-21-2022
08:27 AM
3 Kudos
Hi, After some research I found in order to avoid getting the 403 error, you need to provide the User-Agent to the header as explained by the FAQ under the same domain (scroll below until you find 403 error): https://weather-gov.github.io/api/general-faqs To solve your problem you need to set the UserAgent Property on the invokeHttp processor. It can be something like: nifi/version 1.16.0 Hope that helps, if it does please accept solution. Thanks
... View more
05-20-2022
06:44 AM
Hi Andre, Thanks again for taking the time and look into my access policy files. If you have noticed in the users.xml I have created an admin group with id "1966f436-0180-1000-ffff-ffffd1d17786" that the user "168b019c-0180-1000-ffff-fffffbf36c3a" is part of, this user group should have access to everything on the nifi canvas so Im assuming my user id implicitly will have access to everything as well, is that correct? even with that I went and give access to my user id explicitly to the target processor group with permission to view, modify and operate component, but still getting the 403 error! Keep in mind when I call the same API using nifi InovkeHttp providing the same access token it only works when I provide SSL Context Service that points to the same truststore & keystore files used to secure the nifi instance, could that be the problem in postman since I did not provide the SSL context there even though Im using https in the url? Im not sure how this can be configured in postman. Thanks for your help.
... View more
05-19-2022
06:40 PM
I sent you both the users and authorizations xml content in private message. Thanks!
... View more
05-19-2022
02:58 PM
Hi Andre, I sent you the authorizers content in private message. thanks for your help
... View more
05-19-2022
01:10 PM
Hi Andre, Not sure what do you mean by "enabled Ranger for authorization"? Can you please elaborate? Also the user Im getting the access token for is the same user that can log in to nifi and have all kind of permissions added to view\modify any workflow. Not sure what else I could be missing. Thanks
... View more