Posts: 17
Registered: ‎11-15-2013

SecurityAuth-hdfs.audit log retention

[ Edited ]

HDFS is keeping 20 generations of /var/log/hadoop-hdfs/SecurityAuth-hdfs.audit.## on each DataNode. For most logs the default is 10 generations or we have set the retention to 10 generations. However, I cannot find a parameter to set this retention on the DataNodes either in the HDFS or Nagivator configurations. Is there a way to specify the number of generations to be kept?