Member since
06-12-2018
24
Posts
2
Kudos Received
0
Solutions
12-18-2018
06:57 PM
@Milan Das Yes, for the very first time we set using UI and this will create a authorizsations.xml file. For every installation after the first one, we copy the old authorizations.xml, get the current installation root id and replace the old installation root id with the current one in authorizations.xml. This way you dont set the component level policies every time a new instance of NiFi is installed
... View more
12-10-2018
09:36 PM
I am consuming the file from UNIX directory using Apache NiFi 1.5. The directory and file has all the required permissions for NiFi to consume it.
... View more
12-10-2018
09:33 PM
{$filename:toLower()} will only look for filename with lowercase pattern in the UNIX directory. If I provide filename as ABC.txt to fetch file processor, it will always look for abc.txt but I also need to consume files like aBc.Txt|abC.txt|ABC.TXT in this case.
... View more
12-10-2018
09:21 PM
@Matt Clarke @Timothy Spann @Felix Albani
... View more
12-10-2018
09:21 PM
1 Kudo
Hi, I am trying to consume a file from UNIX folder using NiFi FetchFile processor by providing UNIX folder location and the filename. The FetchFile processor only fetches the file with the matching filename which is not case agnostic. If I provided FetchFile with filename as abc.txt and I drop ABC.TXT in the UNIX location, the FetchFile processor will not pick it up. Is there any way I can pickup files based on case agnostic filenames? Note: I tried using the GetFile processor but it only has success relationship which means that GetFile processor will not handle the negative scenario when the file is not present when expected which is not as per my requirement. Any help will be appreciated. Thanks
... View more
Labels:
- Labels:
-
Apache NiFi
08-22-2018
05:22 PM
To be more specific about my question, I wan to know if there is any way we can set component level access policies(view/modify component/data/policies) without using UI or NiFi REST APIs.
... View more
08-21-2018
09:53 PM
@Matt Clarke @Felix Albani @Matt Burgess Can someone please help?
... View more
08-21-2018
09:46 PM
Hi, When I try to install an instance of NiFi, I am able to start NiFi but to configure any flows in the canvas, I have to set the component level access policies on the canvas and provide the admin and users with rights to view/modify component and data. Only after setting this access policies, I am able to configure any flows or else I getting an error saying: HTTP/1.1 403 Forbidden: No applicable policies could be found. Contact the system administrator. This is understandable since the UUID of the NiFi canvas change with every fresh installation of NiFi (since flow.xml.gz changes). My question is, can the access policies be set using NiFi REST API for the canvas rather than manually adding the users via UI. I want to build a UNIX script with set of commands that uses nifi-api to set the access policies so that I can run this script and then configure the flows. Is it possible to set access policies using nifi-api? If so, how? Thanks and Regards, Harish Vaibhav Kali
... View more
Labels:
- Labels:
-
Apache NiFi
08-06-2018
06:47 PM
@Matt Clarke @Felix Albani Hi Matt/Felix, If suppose I have 5 process groups in a NiFi flow and I am adding a processor in one of the process group, does this change the UUIDs of all processors in that NiFi flow? The reason I am asking this is because, I am using GIT to maintain XMLs of NiFi flows, when I make a change and raise a pull request against master branch, I see that the UUIDs of all processors in the entire flow changes. If another person at the same time makes a change to a processor(on a different instance of NiFi) and raises a pull request against master branch there will be a conflict. So as to avoid this, one has to make their changes and once they are merged to master branch, the other person needs to get the latest changes in master branch and then work on his/her change. Is there anyway we can avoid this?
... View more
Labels:
- Labels:
-
Apache NiFi
08-01-2018
09:45 PM
@Matt Clarke But everytime I install NiFi and login as admin, I see the root process group and when I click the Access Policies(Key symbol) button on NiFi root level, it opens the access policies dialog and it there it says "No policy for the specified resource.
Create a new policy." Now when I click create a new policy and add the admin, I am able to configure flows or else it gives me error mentioned in the above comment. So, is this behavior expected or am I missing something? I have added the admin user in authorized-users.xml and mentioned that user as admin in Initial admin identity property in authorizers.xml as well.
... View more