You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhe Zhang (JIRA)" <ji...@apache.org> on 2015/04/13 20:16:13 UTC
[jira] [Resolved] (HDFS-8114) Erasure coding: Add auditlog
FSNamesystem#createErasureCodingZone if this operation fails
[ https://issues.apache.org/jira/browse/HDFS-8114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhe Zhang resolved HDFS-8114.
-----------------------------
Resolution: Fixed
Fix Version/s: HDFS-7285
Thanks Rakesh for the work and Uma for the review!
I just committed it to the branch.
> 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
> Labels: reviewed
> Fix For: HDFS-7285
>
> 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)