Posts: 8
Registered: ‎10-14-2016
Accepted Solution

Maximum DataNode log size

Hi all, 

I would like to set the total maximum size of DataNode log files to 2 GB (retaining maximum 2 log files). 


How should I proceed? 


I found these two parameters in HDFS configurations (in Cloudera Manager):

  • DataNode Max Log Size 
  • DataNode Maximum Log File Backups

I was thinking to set the DataNode Max Log Size = 1GB and the DataNode Maximum Log File Backups = 2 .

In this way 2 retained log files (1GB each) makes 2GB in total ...


Is it correct ? 


Posts: 547
Registered: ‎05-16-2016

Re: Maximum DataNode log size

yes you are good @AleNegrini