Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
New Contributor

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.
TOMCAT_LOG_DIR=/hadoop/log/ranger/kms 

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

Restart KMS

470 Views
Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎11-03-2016 03:22 PM
Updated by:
 
Contributors
Top Kudoed Authors