Member since
04-27-2017
6
Posts
1
Kudos Received
0
Solutions
05-10-2017
09:56 AM
HI, Thanks for your response. But removing and recreating the symlinks will not work for us because its not using the current log path(symlink) under 'ews' folder instead it using the path which is showing in Ambari (refer attached image). EX: PATH >>>>> root@hadoop:/usr/hdp/current/ranger-admin/ews : logs -> /var/log/ranger/admin <<<<<< symlink But the above path is not being used by Ranger. Logging is happening in the different path specified in Ambari, which is Greyed Out (Disabled). Thanks, Raagul.S
... View more
05-05-2017
09:51 AM
Hello Shyam, Thanks for your solution. Yes, it will work and it already worked for us (yesterday) when we replace the args (%LOG_DIR%) with absolute path of some custom directory. Here goes the logs from our server. -------------------------------------------------------------------------- #args=('%LOG_DIR%/access.log', 'a', 1000000, 3) args=('/var/log/hadoop/hue/access.log', 'a', 1000000, 3) #args=('%LOG_DIR%/error.log', 'a', 1000000, 3) args=('/var/log/hadoop/hue/error.log', 'a', 1000000, 3) --------------------------------------------------------------------------- As you have mentioned , the custom directory should be created before modifying in log.conf file wheres for the other components where it is possible to change from Ambari, the Amabri itself will take care of creating the log directory, ownership & permission. Still thanking you again for your response with right solution. Regards, - Raagul
... View more