Ingesting permissions into Ranger
After you run the authzmigrator tool to export the permissions on the source cluster, ingest them into the Ranger service on the target cluster.
- In the target cluster, copy the /opt/backup/permissions.json file to the /user/sentry/export-permissions/permissions.json HDFS location.
Make sure the user ranger has read-write permissions on
the file. To set the read-write permissions for the
ranger user, run the following command:
hdfs dfs -setfacl -m -R user:ranger:rwx /user/sentry/export-permissions/permissions.json
- Log in to Cloudera Manager.
In the Ranger service, click
The Ranger service ingests the permissions in the user/sentry/export-permissions/permissions.json file.