Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Maximum DataNode log size

avatar
Explorer

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 ? 

 

1 ACCEPTED SOLUTION

avatar
Champion
1 REPLY 1

avatar
Champion

yes you are good @AleNegrini