Created 09-19-2020 05:51 AM
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?
Created 09-22-2020 05:44 AM
Created on 09-19-2020 09:18 PM - edited 09-19-2020 09:21 PM
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.
Created 09-22-2020 05:44 AM
It's start working while I added this parameters.