Install Ranger Tagsync
Follow these steps to install Ranger Tagsync:
Untar the
ranger-<version>-tagsync.tar.gz
file:tar zxf ranger-<version>-tagsync.tar.gz
Change directory to
ranger-<version>-tagsync
.cd ranger-<version>-tagsync
Edit the
install.properties
file.Enter the appropriate values for each of the following properties:
Table 14.12. install.properties Property Values
Property Value TAGADMIN_ENDPOINT http://<FQDN_OF_Ranger_Admin_Cluster>:6080 tagsync_principal rangertagsync/<FQDN>@<REALM> tagsync_keytab <rangertagsync keytab path> hadoop_conf /etc/hadoop/conf TAG_SOURCE , file
Note If the Kerberos server and tagsync are on different hosts, copy the keytab on admin host and assign permission to user
ranger
:scp the rangertagsync keytab file to the respective path of another host.
chown ranger <rangertagsync_keytab_path>
chmod 400 <rangertagsync_keytab_path>
Run setup.
./setup.sh
Start the Ranger tagsync server.
./ranger-tagsyn-services.sh start