Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-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 3022ECBF6 for ; Fri, 19 Dec 2014 06:35:23 +0000 (UTC) Received: (qmail 39665 invoked by uid 500); 19 Dec 2014 06:28:02 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 39626 invoked by uid 500); 19 Dec 2014 06:28:02 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 39614 invoked by uid 99); 19 Dec 2014 06:28:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Dec 2014 06:28:01 +0000 Date: Fri, 19 Dec 2014 06:27:54 +0000 (UTC) From: "Liang Xie (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-11433) Fix the new findbugs warning from NetUtils&ActiveStandbyElector 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/HADOOP-11433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Liang Xie updated HADOOP-11433: ------------------------------- Attachment: HADOOP-11433-001.txt > Fix the new findbugs warning from NetUtils&ActiveStandbyElector > --------------------------------------------------------------- > > Key: HADOOP-11433 > URL: https://issues.apache.org/jira/browse/HADOOP-11433 > Project: Hadoop Common > Issue Type: Improvement > Components: ha, net > Affects Versions: 2.7.0 > Reporter: Liang Xie > Assignee: Liang Xie > Priority: Minor > Attachments: HADOOP-11433-001.txt > > > see https://builds.apache.org/job/PreCommit-HADOOP-Build/5309//artifact/patchprocess/newPatchFindbugsWarningshadoop-common.html : > {code} > Correctness Warnings > Code Warning > RV Return value of java.util.concurrent.CountDownLatch.await(long, TimeUnit) ignored in org.apache.hadoop.ha.ActiveStandbyElector$WatcherWithClientRef.process(WatchedEvent) > Multithreaded correctness Warnings > Code Warning > AT Sequence of calls to java.util.concurrent.ConcurrentHashMap may not be atomic in org.apache.hadoop.net.NetUtils.canonicalizeHost(String) > Bug type AT_OPERATION_SEQUENCE_ON_CONCURRENT_ABSTRACTION (click for details) > In class org.apache.hadoop.net.NetUtils > In method org.apache.hadoop.net.NetUtils.canonicalizeHost(String) > Type java.util.concurrent.ConcurrentHashMap > Called method java.util.concurrent.ConcurrentHashMap.put(Object, Object) > At NetUtils.java:[line 291] > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)