Community Articles
Find and share helpful community-sourced technical articles.

The Ranger KMS logs are present

cd /usr/hdp/current/ranger-kms/ews
lrwxrwxrwx  1  kms  kms  19  sep 23  20:33 logs-> /var/log/ranger/kms

We would like to change ranger KMS logs location from /var/log/ ranger/kms to /hadoop/log/ranger/kms.

mkdir /hadoop/log/ranger/kms
chmod 755 /hadoop/log/ranger/kms
chown kms:kms /hadoop/log/ranger/kms

rm symbolic link for logs

cd /usr/hdp/current/ranger-kms/ 
vi ranger-kms
search for word "TOMCAT_LOG_DIR" and replace with new location.

In Ambari webUI update log directory for ranger KMS kms_log_dir property.

Restart KMS

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎11-03-2016 03:22 PM
Updated by:
Top Kudoed Authors