Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

What are some good logrotated settings for Impala and other logs?

What are some good logrotated settings for Impala and other logs?

I am trying to decide between a script in /etc/cron.daily and settings in/etc/logrotate.d for rotating files.

 

Can anyone tell me if Impala will keep writing to a log file after it is deleted, like some other programs, requiring special handling in the logrotate settings? O, advice me on a any other special considerations.

 

I've looked through the docs and online, and it seems I can handle the /var/log/impalad, /var/log/hbase/, and other hadoop logs in this area like any others. I'd like to confirm this, and looking to get recomendations on good settings.

 

Don't have an account?
Coming from Hortonworks? Activate your account here