[
https://issues.apache.org/jira/browse/HDFS-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rakesh R updated HDFS-8114:
---------------------------
Description:
While reviewing, I've noticed {{createErasureCodingZone}} is not adding
auditlog if this operation fails. IMHO its good to capture failure case also.
{code}
logAuditEvent(true, "createErasureCodingZone", srcArg, null, resultingStat);
{code}
was:
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}
> 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(true, "createErasureCodingZone", srcArg, null, resultingStat);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)