Member since
09-11-2017
10
Posts
1
Kudos Received
0
Solutions
06-29-2021
05:17 AM
@data-light NiFi nodes will always be authenticated via the clientAuth certificate they present. The Owner DN from the node's PrivateKeyEntry in the keystore file is what is used. What is important to know is that NiFi provides a mechanism that can trim/modify those full DNs through the uses of identity mapping properties [1]that users can configure in the nifi.properties file. After a mapping is applied against an identity string the resulting mapped value is what is actually passed to the configured NiFi Authorizer. So within the authorizer, that now mapped value is what the authorization policies need to be mapped to. The nifi-user.log will show the mapped value (case sensitive) that is being used during authorization. So if you see only "Nifi-node-0" in the nifi-user.log, then that exact string is what needs to exist in your authorizer and have policy assigned to it. If the nifi-user.log was showing "cn=Nifi-node-0, ou=mycompany, ou=nifi", then that full DN would need to be present in your authorizer with assigned policies. So you will want to get a verbose output of your nodes keystore files, your nifi.properties file to see what identity mapping patterns have been set, and the authorizers.xml to see how your authorization setup is done, and the nifi-user.log. [1] https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#identity-mapping-properties Hope this helps address your question. IF so, please take a moment to login and click "Accept" on this solution. Thank you, Matt
... View more
08-28-2018
09:16 PM
Thanks Matt, I don't know who change it, but I replace the nar and works fine. Regards
... View more
10-23-2017
01:49 PM
@Diego A Labrador You are running into https://issues.apache.org/jira/browse/NIFI-4187 There currently is no HDF release that includes this fix. What is happening is something is causing the NIFi process to die. The NiFi bootstrap detects that the NiFi process has hung or died and tries to restart it where it runs in to the above BUG. I would search you NiFi logs for perhaps some OOM error that may have have caused the NiFi process to die.
... View more