Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7285 Erasure Coding Support inside HDFS
  3. HDFS-8114

Erasure coding: Add auditlog FSNamesystem#createErasureCodingZone if this operation fails

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • HDFS-7285
    • None

    Description

      While reviewing, I've noticed createErasureCodingZone is not adding auditlog if this operation fails. IMHO its good to capture failure case also.

      logAuditEvent(true, "createErasureCodingZone", srcArg, null, resultingStat);
      

      Attachments

        1. HDFS-8114-001.patch
          2 kB
          Rakesh Radhakrishnan

        Activity

          People

            rakeshr Rakesh Radhakrishnan
            rakeshr Rakesh Radhakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: