Support Questions
Find answers, ask questions, and share your expertise

How to rotate hdfs daemons log

How to rotate hdfs daemons log

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!


Re: How to rotate hdfs daemons log