Support Questions

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

hdfs audit operations

avatar
Contributor

Hello.

I need advice there I can see log(audit) of hdfs operations.

For example(mkdir, putFromLocal, delete file,change file).

I tried use command from cmd "hdfs dfs -mkdir /tmp/mydir" - and don't see this log.

There can I find it?

 

1 ACCEPTED SOLUTION

avatar
Contributor

 

It's start working while I added this parameters.

audit.jpg

View solution in original post

2 REPLIES 2

avatar
Explorer

In namenode host;

current file /var/log/hadoop/$HDFS_USER/hdfs-audit.log.

history file with timestamp.

you will find 'cmd=mkdirs'... in the log.

avatar
Contributor

 

It's start working while I added this parameters.

audit.jpg