[
https://issues.apache.org/jira/browse/HDFS-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14487428#comment-14487428
]
Rakesh R commented on HDFS-8114:
--------------------------------
Attached patch to make the audit logging better. Please review. Thanks!
> Erasure coding: Add auditlog FSNamesystem#createErasureCodingZone if this
> operation fails
> -----------------------------------------------------------------------------------------
>
> Key: HDFS-8114
> URL: https://issues.apache.org/jira/browse/HDFS-8114
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Rakesh R
> Assignee: Rakesh R
> Priority: Minor
> Attachments: HDFS-8114-001.patch
>
>
> While reviewing, I've noticed {{createErasureCodingZone}} is not adding
> auditlog if this operation fails. IMHO its good to capture failure case also.
> {code}
> logAuditEvent(success, "createErasureCodingZone", srcArg, null,
> resultingStat);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)