Support Questions
Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Innovation Accelerator group hub.

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!

1 REPLY 1

Guru