Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8176

Record from/to snapshots in audit log for snapshot diff report

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • snapshots
    • None
    • Reviewed

    Description

      Provide information about the snapshots compared in audit log.
      In current code value "null" is been passed.

      logAuditEvent(diffs != null, "computeSnapshotDiff", null, null, null);
      
      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
      

      Attachments

        1. HDFS-8176.1.patch
          1 kB
          J.Andreina
        2. HDFS-8176.2.patch
          1 kB
          J.Andreina

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            andreina J.Andreina
            andreina J.Andreina
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment