Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

limiting logfile sizes?


limiting logfile sizes?


I have small cluster with both HDP and HDF services... Given 24G of available disk space on every node, is there some rule to determine limit for the log sizes for for services? Do some of the service (HBase?) require more space than others?

thank you,


Re: limiting logfile sizes?

@Victor L

You have to configure each service log4j configurations separately. For example Hbase log4j configurations can be configured with below configs.

hbase_log_maxbackupindex //defines how many back files should it retain

hbase.log.maxfilesize //defines what is the file size

hbase_security_log_maxbackupindex //defines how many back files should it retain

hbase_security_log_maxfilesize //defines what is the file size


You can follow the article as well

Re: limiting logfile sizes?

@Victor L please accept the answer if it answers your question.

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