Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 66727200B54 for ; Wed, 13 Jul 2016 17:09:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6550B160A6E; Wed, 13 Jul 2016 15:09:23 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AF57D160A6A for ; Wed, 13 Jul 2016 17:09:22 +0200 (CEST) Received: (qmail 29208 invoked by uid 500); 13 Jul 2016 15:09:20 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 29030 invoked by uid 99); 13 Jul 2016 15:09:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jul 2016 15:09:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 99E0F2C02AF for ; Wed, 13 Jul 2016 15:09:20 +0000 (UTC) Date: Wed, 13 Jul 2016 15:09:20 +0000 (UTC) From: "Eric Badger (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-10617) PendingReplicationBlocks.size() should be synchronized MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 13 Jul 2016 15:09:23 -0000 Eric Badger created HDFS-10617: ---------------------------------- Summary: PendingReplicationBlocks.size() should be synchronized Key: HDFS-10617 URL: https://issues.apache.org/jira/browse/HDFS-10617 Project: Hadoop HDFS Issue Type: Bug Affects Versions: 0.22.0 Reporter: Eric Badger Assignee: Eric Badger pendingReplications is a HashMap, which is not a thread-safe data structure. Therefore, the size() function should be synchronized just like the rest of the member functions. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org