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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: snapshots
    • Labels:
      None
    • Hadoop Flags:
      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.2.patch
          1 kB
          J.Andreina
        2. HDFS-8176.1.patch
          1 kB
          J.Andreina

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: