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.

Maximum DataNode log size

Solved Go to solution

Maximum DataNode log size

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

Accepted Solutions

Re: Maximum DataNode log size

Champion

yes you are good @AleNegrini

 

1 REPLY 1

Re: Maximum DataNode log size

Champion

yes you are good @AleNegrini

 

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