Skip to main content
Amn_468
Silver ⭐️⭐️⭐️
April 8, 2019
Solved

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

Harsh J
Harsh JAnswer
Gold ⭐️⭐️
April 11, 2019
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.

5 replies

Tomas79
Platinum ⭐️
April 9, 2019
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.
Translate
Harsh J
Gold ⭐️⭐️
Gold ⭐️⭐️
April 10, 2019
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.
Translate
Amn_468
Amn_468Author
Silver ⭐️⭐️⭐️
April 18, 2019

Thank you all for your help

Translate