Reply
New Contributor
Posts: 3
Registered: ‎02-18-2019
Accepted Solution

Impala Deamon Logs

Hello All,

 

Could someone appraise me the significance of Impala Audit & Lineage Logs. We are facing space issue and would like  to know whether we can delete some of those old log files, also the default setting for Impala Daemon Maximum Lineage Log File Size & Impala Daemon Maximum Audit Log File Size is 5000 can this be lowered to 1000 etc.

 

Regards

Wert

Master
Posts: 430
Registered: ‎07-01-2015

Re: Impala Deamon Logs

You can remove them, if you dont need them. Actually it should be part of your maintenamce, as at least what I know, there is no "auto rotation" or "log delete" on lineage logs.
Posts: 1,896
Kudos: 433
Solutions: 303
Registered: ‎07-31-2013

Re: Impala Deamon Logs

To add on: If you will not require audits or lineage at all for your cluster, you can also choose to disable their creation:

Impala - Configuration - "Enable Impala Lineage Generation" (uncheck)
Impala - Configuration - "Enable Impala Audit Event Generation" (uncheck)

If you are using Navigator with Cloudera Enterprise, then these audits and lineage files should be sent automatically to the Navigator services. If they are not passing through, it may be an indicator of problem in the pipeline - please raise a support case if this is true.
New Contributor
Posts: 3
Registered: ‎02-18-2019

Re: Impala Deamon Logs

Hi Harsh J / Tomas79,

 

Thank you for your responses, instead of disabling Audit & Lineage Log collection, I would be more inclined if can I reduce the default settings of 5000 to 1000, would there be any negative consequences?

 

Appreciate your insights / advice.

Posts: 1,896
Kudos: 433
Solutions: 303
Registered: ‎07-31-2013

Re: Impala Deamon Logs

As @Tomas79 explains, there will be no consequence whatsoever of making
that change (for your described problem) as these files are not deleted by
the writer (in the same way regular service log files are).

You'll need to delete older log files on your own, regardless of what you
specify the maximum file sizes to be for each rolled log. You can consider
using something like logrotate on Linux to automate this.
New Contributor
Posts: 3
Registered: ‎02-18-2019

Re: Impala Deamon Logs

[ Edited ]

Thank you all for your help

Announcements

Our community is getting a little larger. And a lot better.


Learn More about the Cloudera and Hortonworks community merger planned for late July and early August.