[
https://issues.apache.org/jira/browse/HDFS-5040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173137#comment-16173137
]
Vinayakumar B commented on HDFS-5040:
-------------------------------------
I noticed some of the existing admin commands (most are related to ec) logs
audit as 'fail' for non-accessControlExceptions in finally block.
in HDFS-9395 it was decided to log failed audit logs for only on
AccessControlExceptions, and success audit logs on successfull operation. Not
in finally block.
Anyway, this is not from the current patch. Can be handled in separate Jira.
1. {{getDatanodeStorageReport()}} is not logging the audit. Though its not
available as a command, stil user can access DFSClient's API to invoke it. I
think its better to have audit for this as well. Currently balancer will use
this API.
+1 once this is done.
> Audit log for admin commands/ logging output of all DFS admin commands
> ----------------------------------------------------------------------
>
> Key: HDFS-5040
> URL: https://issues.apache.org/jira/browse/HDFS-5040
> Project: Hadoop HDFS
> Issue Type: New Feature
> Components: namenode
> Affects Versions: 3.0.0-alpha1
> Reporter: Raghu C Doppalapudi
> Assignee: Kuhu Shukla
> Labels: BB2015-05-TBR
> Attachments: HDFS-5040.001.patch, HDFS-5040.004.patch,
> HDFS-5040.005.patch, HDFS-5040.006.patch, HDFS-5040.007.patch,
> HDFS-5040.008.patch, HDFS-5040.patch, HDFS-5040.patch, HDFS-5040.patch
>
>
> enable audit log for all the admin commands/also provide ability to log all
> the admin commands in separate log file, at this point all the logging is
> displayed on the console.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]