Support Questions

Find answers, ask questions, and share your expertise

How to rotate hdfs daemons log

avatar

Hi All,

I have a lots of hdfs daemon logs for

1. hadoop-hdfs-datanode-<namenode host>.log
2. hadoop-hdfs-journalnode-<namenode host>.log
3. hadoop-hdfs-secondarynamenode-<namenode host>.log
4. hadoop-hdfs-namenode-<namenode host>.log
5. hadoop-hdfs-zkfc-<namenode host>.log
6. hadoop-hdfs-nfs3-<namenode host>.log

Can anyone tell how to rotate the above logs or where & how can I define the rotate policy for above logs?

Thanks in advance!

1 REPLY 1