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 5225B200B84 for ; Mon, 29 Aug 2016 04:45:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 50B1E160AC7; Mon, 29 Aug 2016 02:45:22 +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 BEF01160AB4 for ; Mon, 29 Aug 2016 04:45:21 +0200 (CEST) Received: (qmail 44338 invoked by uid 500); 29 Aug 2016 02:45:20 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 44317 invoked by uid 99); 29 Aug 2016 02:45:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Aug 2016 02:45:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A5E132C0152 for ; Mon, 29 Aug 2016 02:45:20 +0000 (UTC) Date: Mon, 29 Aug 2016 02:45:20 +0000 (UTC) From: "Larry McCay (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-13556) Change Configuration.getPropsWithPrefix to use getProps instead of iterator MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 29 Aug 2016 02:45:22 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15444602#comment-15444602 ] Larry McCay commented on HADOOP-13556: -------------------------------------- As I mentioned earlier, there are existing tests in place for this. We just need to make sure that those didn't break. > Change Configuration.getPropsWithPrefix to use getProps instead of iterator > --------------------------------------------------------------------------- > > Key: HADOOP-13556 > URL: https://issues.apache.org/jira/browse/HADOOP-13556 > Project: Hadoop Common > Issue Type: Bug > Reporter: Larry McCay > Assignee: Larry McCay > Fix For: 2.8.0 > > Attachments: HADOOP-13556-001.patch > > > Current implementation of getPropsWithPrefix uses the Configuration.iterator() method. This method is not threadsafe. > This patch will reimplement the gathering of properties that begin with a prefix by using the safe getProps() method. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: common-issues-help@hadoop.apache.org