- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
hdfs audit operations
- Labels:
-
HDFS
Created 09-19-2020 05:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created on 09-19-2020 09:18 PM - edited 09-19-2020 09:21 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It's start working while I added this parameters.
