Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Community Articles

Find and share helpful community-sourced technical articles.
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!
avatar
New Member

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

1,752 Views
Version history
Last update:
‎11-03-2016 03:22 PM
Updated by:
Contributors