Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How can I control the size of hdfs-audit.log?

avatar
Expert Contributor

I found the hdfs-audit.log is increasing very quickly. It is fulling /var/log

-rw-r--r-- 1 hdfs hadoop 33230744768 Dec 2 23:59 hdfs-audit.log.2016-12-02 -rw-r--r-- 1 hdfs hadoop 21023710437 Dec 3 23:59 hdfs-audit.log.2016-12-03 -rw-r--r-- 1 hdfs hadoop 10840252416 Dec 4 23:59 hdfs-audit.log.2016-12-04

How can I control the size of hdfs-audit.log? Why it is so large size?

Thanks

1 ACCEPTED SOLUTION

avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Expert Contributor
-rw-r--r-- 1 hdfs hadoop 33230744768 Dec  2 23:59 hdfs-audit.log.2016-12-02
-rw-r--r-- 1 hdfs hadoop 21023710437 Dec  3 23:59 hdfs-audit.log.2016-12-03
-rw-r--r-- 1 hdfs hadoop 10840252416 Dec  4 23:59 hdfs-audit.log.2016-12-04



avatar
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login