I had an authorization error after running successfully NiFi service on the Cloudera Private Cloud Base Cluster. Here is the error log in nifi-user.log file:
2024-08-07 17:57:56,775 INFO [main] o.a.n.a.FileAccessPolicyProvider Authorizations file loaded at Wed Aug 07 17:57:56 ICT 2024
2024-08-07 17:58:48,621 INFO [NiFi Web Server-30] o.a.n.w.s.NiFiAuthenticationFilter Authentication Started 10.62.142.124 [CN=node2, ST=CA, C=US] GET https://node2:8443/nifi-api/flow/metrics/json
2024-08-07 17:58:48,627 INFO [NiFi Web Server-30] o.a.n.w.s.NiFiAuthenticationFilter Authentication Success [node2] 10.62.142.124 GET https://node2:8443/nifi-api/flow/metrics/json
2024-08-07 17:58:48,747 INFO [NiFi Web Server-30] o.a.n.w.a.c.AccessDeniedExceptionMapper identity[node2], groups[nifi] does not have permission to access the requested resource. No applicable policies could be found. Returning Forbidden response.
Here are all the services I am using:
I am using Java 11, I changed the NiFi directory from /var/lib/nifi, /var/log/nifi to /home/lib/nifi, /home/log/nifi because of the free space problem.
Does anyone know how to fix this? Thanks