Update permissions for Replication Manager service

After the upgrade process is complete, you must update the permissions in the Ranger audit log path in HDFS, so that the data replication using Replication Manager works as expected.

Updating the Ranger audit permissions is a two-step process:

  1. Add the “hive” user to the user-groups (supergroup, hdfs, hadoop) on all hosts, including the source and target clusters.
  2. Provide “hive” user permissions in HDFS in the Ranger UI.
  1. To add the “hive” user to the user-groups, use these commands:
    > sudo usermod -a -G hdfs hive
    > sudo usermod -a -G hadoop hive
    > id -Gn hive
    > sudo groupadd supergroup
    > sudo usermod -a -G supergroup hive
    > hdfs groups hive
    
  2. To provide permissions for the Ranger audit log path in HDFS:
  • Log in to Ranger Admin UI.
  • Provide "hive" user permission to "all-path" in hdfs under the cm_hdfs section.