Support Questions

Find answers, ask questions, and share your expertise

YARN log-aggregation retention is still disable

Explorer

On my Hadoop cluster setup I do have these parameters below, but still yarn aggregated log retention is still disabled


Current Value:

yarn.log-aggregation-enable: true

yarn.nodemanager.remote-app-log-dir: /app-logs

yarn.nodemanager.remote-app-log-dir-suffix: logs-ifile

yarn.log-aggregation.retain-seconds: 2592000

yarn.nodemanager.log.retain-seconds: 604800


Do I still need to add or modify some parameters in yarn.xml?


1 REPLY 1

Cloudera Employee

Hi,

 

Thanks for sharing the information. What do you mean by retention is still disable? Are you seeing disable in WebUI (or) the logs is even retained after the allowed duration?

 

Could you please share more information?

 

Thanks

AKR

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.