hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-8176) Record from/to snapshots in audit log for snapshot diff report
Date Sat, 25 Apr 2015 14:39:38 GMT

    [ https://issues.apache.org/jira/browse/HDFS-8176?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14512510#comment-14512510
] 

Allen Wittenauer commented on HDFS-8176:
----------------------------------------

Err, what's the value of doing this?  Does doing a snapshot compare actually change the data
on HDFS?  If no, then this shouldn't be in the audit log.

> Record from/to snapshots in audit log for snapshot diff report
> --------------------------------------------------------------
>
>                 Key: HDFS-8176
>                 URL: https://issues.apache.org/jira/browse/HDFS-8176
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: snapshots
>            Reporter: J.Andreina
>            Assignee: J.Andreina
>            Priority: Minor
>             Fix For: 2.8.0
>
>         Attachments: HDFS-8176.1.patch, HDFS-8176.2.patch
>
>
> Provide information about the snapshots compared in audit log. 
> In current code value "null" is been passed. 
> {code}
> logAuditEvent(diffs != null, "computeSnapshotDiff", null, null, null);
> {code}
> {noformat}
> 2015-04-15 09:56:49,328 INFO FSNamesystem.audit: allowed=true   ugi=Rex (auth:SIMPLE)
  ip=/XXXXXXXXX        cmd=computeSnapshotDiff src=null        dst=null        perm=null 
     proto=rpc
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message