Configuring the server work directory path for a Ranger service
A Ranger Administrator user can configure the server work directory path.
In versions prior to 7.1.7 (SP1) the server work directory path was hard-coded. A
Ranger Admin user can now configure the Tomcat server directory for Ranger Admin,
Ranger KMS, Ranger RMS and Ranger RAZ.
From Cloudera Manager > <Service_Name> > Configuration.
In Search, type
<service_string>.tomcat.work.dir .
This is the Ranger Service Work Directory name.
Table 1. Ranger Service Work Directory Names
Ranger Service
Work Directory Name
Ranger Admin, KMS
ranger.tomcat.work.dir
Ranger RMS
ranger-rms.tomcat.work.dir
Ranger Raz
ranger.raz.tomcat.work.dir
Edit the path variable displayed for the Server Default
Group.
Click Save Changes (CTRL+S).
Restart the Ranger service.
For Ranger Admin and Ranger KMS:
Go to Cloudera Manager > Ranger > Configuration.
In Search, type
ranger.tomcat.work.dir .
In Ranger Admin Default Group, replace
/var/lib/ranger/admin/work with a custom
path.