Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5A2D517ECB for ; Mon, 13 Apr 2015 18:16:21 +0000 (UTC) Received: (qmail 45209 invoked by uid 500); 13 Apr 2015 18:16:14 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 45055 invoked by uid 500); 13 Apr 2015 18:16:14 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 44878 invoked by uid 99); 13 Apr 2015 18:16:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2015 18:16:13 +0000 Date: Mon, 13 Apr 2015 18:16:13 +0000 (UTC) From: "Zhe Zhang (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-8114) Erasure coding: Add auditlog FSNamesystem#createErasureCodingZone if this operation fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)