Configuring Ranger for NiFi
If your cluster contains Ranger, then you need to configure Ranger service, before starting NiFi. In order to create the default Ranger policies used by CFM, you have to execute the CreateMarkerFile command once.
- Go to .
- Select NiFi.
- Go to the Configuration tab.
- Search for the RANGER Service configuration and enable it.
- Modify the ranger.plugin.nifi.service.name property to match with the new Ranger service name.
Ensure that NiFi is in a stopped state.
The CreateMarkerFile command can be executed only when NiFi service is not running.
- In the Cloudera Manager UI, go to NiFi service settings.
Execute the Create Marker File action from the
After this action, if you have finished every other necessary NiFi related post steps, when you start the service, the service creates the default Ranger policies, if they are missing.