Member since
06-12-2018
24
Posts
2
Kudos Received
0
Solutions
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
08-01-2018
08:46 PM
@Matt Clarke
Is it required to set the access policies(view component, modify component, view the data, modify the data, etc.) for the main process group to configure the flows every time a new instance of NiFi is installed?
I am able to start NiFi and login to the UI. After starting NiFi, when I am trying to configure the flows, it gives me error saying:
HTTP call failed. Status code: HTTP/1.1 403 Forbidden: No applicable policies could be found. Contact the system administrator. When I login to NiFi and manually link access policies to admin and then try to configure the flows, it works fine.
So do I have to link the access policies to admin every time I install an instance of NiFi for configuring the flows?
... View more
07-25-2018
08:54 PM
Hi, I am trying to access nifi-api using kerberos token. I ran the command to obtain the token that is mentioned in the post but I get the following error: Kerberos ticket login not supported by this NiFi. I have kerberos provider configured in login-identity-providers.xml and I am able to run kinit also. Can you please help me how to resolve this issue?
... View more
07-25-2018
03:22 PM
@Matt Clarke So is there any way I can migrate the users I added manually via UI in one installation of NiFi to a different installation? If so, how? The reason I am asking this is because, I dont want to manually add the users everytime I reinstall NiFi
... View more
07-25-2018
01:26 PM
Hi Matt, I know that when the users are added via NiFi UI, it reflects in the users.xml file. What I am asking is, if suppose I have added 10 users via NiFi UI and now I have 10 users in my users.xml file. So now can I use this users.xml file in future installations. If suppose I use the same users.xml in a new installation, will those 10 users be able to login to the newly installed NiFi?
... View more
07-24-2018
01:53 PM
@Matt Clarke Hi Matt, Let's say if I have a list of users that have access to an instance of NiFi. Is there any way I can retain those users even after I re-install NiFi on that particular instance?
... View more
07-18-2018
11:09 PM
@Matt Clarke @Matt Burgess @Felix Albani @Timothy Spann
... View more
07-18-2018
11:04 PM
Hi, I am trying to stop a nifi process group from UNIX where the nifi is installed using curl command. First I generated the access token to the URL that I am trying to POST by running the below command: curl --tlsv1.2 https://localhost:9966/nifi-api/access/token --data 'username=*****&password=****' -k After this, I am running the below command using the access token generated from above step: curl --tlsv1.2 -ik -H 'Content-Type: application/json' -H 'Authorization: Bearer {token from above command}' -XPUT -d'{"id":"03bc6708-6a44-4069-8fe3-77ec056639e7","state":"STOPPED"}' https://localhost:9966/nifi-api/flow/process-groups/03bc6708-6a44-4069-8fe3-77ec056639e7 But I get the below error when I run the above command: Can someone help me resolve this issue? Am I running the correct commands? If not can someone give me the correct commands to GET/POST NiFi content using curl command PS: I am able to access NiFi UI through my web browser using this link: https://nifi-host:port/nifi
... View more
Labels:
- Labels:
-
Apache NiFi
07-13-2018
03:41 PM
@Matt Clarke so the only way to add new users is to login to NiFi as admin and then add the users via UI?
... View more