Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 15F2010588 for ; Mon, 9 Feb 2015 19:02:35 +0000 (UTC) Received: (qmail 31487 invoked by uid 500); 9 Feb 2015 19:02:35 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 31430 invoked by uid 500); 9 Feb 2015 19:02:34 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 31416 invoked by uid 99); 9 Feb 2015 19:02:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Feb 2015 19:02:34 +0000 Date: Mon, 9 Feb 2015 19:02:34 +0000 (UTC) From: "Akira AJISAKA (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7753) Fix Multithreaded correctness Warnings in BackupImage.java 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-7753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14312645#comment-14312645 ] Akira AJISAKA commented on HDFS-7753: ------------------------------------- I'm +1 for ignoring the warning by adding an entry to findbugsExcludeFile.xml. I've created the patch in HDFS-7754 for doing this. Would you close this issue and review the patch? Sorry for the duplication. > Fix Multithreaded correctness Warnings in BackupImage.java > ---------------------------------------------------------- > > Key: HDFS-7753 > URL: https://issues.apache.org/jira/browse/HDFS-7753 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.7.0 > Reporter: Rakesh R > Assignee: Rakesh R > Attachments: HDFS-7753.patch > > > Inconsistent synchronization of org.apache.hadoop.hdfs.server.namenode.BackupImage.namesystem; locked 60% of time > {code} > Bug type IS2_INCONSISTENT_SYNC (click for details) > In class org.apache.hadoop.hdfs.server.namenode.BackupImage > Field org.apache.hadoop.hdfs.server.namenode.BackupImage.namesystem > Synchronized 60% of the time > Unsynchronized access at BackupImage.java:[line 97] > Unsynchronized access at BackupImage.java:[line 261] > Synchronized access at BackupImage.java:[line 197] > Synchronized access at BackupImage.java:[line 212] > Synchronized access at BackupImage.java:[line 295] > {code} > https://builds.apache.org/job/PreCommit-HDFS-Build/9493//artifact/patchprocess/newPatchFindbugsWarningshadoop-hdfs.html#Details -- This message was sent by Atlassian JIRA (v6.3.4#6332)