Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi - restricted processors won't start (REST-API, NiFi Toolkit)

Solved Go to solution
Highlighted

NiFi - restricted processors won't start (REST-API, NiFi Toolkit)

Rising Star

I have a process-group which has to be started via rest-api.

Principial it works to start the process-group but processors inside which are marked as "restricted" won't get started, f.e. ExecuteScript, PutFile. These processors remain stopped. No error message. In nifi-app.log are only the started processors listed. No word of the others.

In the UI of course I can start these processors.

How to solve this via rest-api? Thanks for any help.

Using NiFi 1.9.2


SUPPLEMENT

It is not a REST-API thing.

Tried with NiFi Toolkit (/bin/cli.sh nifi pg-start -pgid 708358fc-016c-1000-0000-00000bf....). All processors get started excepted the restricted ones.


So where is the cause and how to fix this?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: NiFi - restricted processors won't start (REST-API, NiFi Toolkit)

Rising Star

Solved
Cluster-node users (who obviously execute these actions via rest-api or toolkit cli) had no permission to work with restricted components.
Added permission, startet NiFi new and it works.

Would by helpfull if somewhere a message would come up to tell that this is an authorization problem...

View solution in original post

1 REPLY 1
Highlighted

Re: NiFi - restricted processors won't start (REST-API, NiFi Toolkit)

Rising Star

Solved
Cluster-node users (who obviously execute these actions via rest-api or toolkit cli) had no permission to work with restricted components.
Added permission, startet NiFi new and it works.

Would by helpfull if somewhere a message would come up to tell that this is an authorization problem...

View solution in original post

Don't have an account?
Coming from Hortonworks? Activate your account here