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 36F61200B71 for ; Wed, 31 Aug 2016 17:44:34 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id B7B0F160AB5; Wed, 31 Aug 2016 15:44:28 +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 2F2A3160ABA for ; Wed, 31 Aug 2016 17:44:28 +0200 (CEST) Received: (qmail 32988 invoked by uid 500); 31 Aug 2016 15:44:21 -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 32701 invoked by uid 99); 31 Aug 2016 15:44:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Aug 2016 15:44:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id F165A2C014E for ; Wed, 31 Aug 2016 15:44:20 +0000 (UTC) Date: Wed, 31 Aug 2016 15:44: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: Wed, 31 Aug 2016 15:44:34 -0000 [ https://issues.apache.org/jira/browse/HADOOP-13556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452574#comment-15452574 ] Larry McCay commented on HADOOP-13556: -------------------------------------- Thanks, [~cnauroth] - that is helpful! I know that I used to be able to do that - something must have changed. Manual options is great though! > 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, 3.0.0-alpha1 > > Attachments: HADOOP-13556-001.patch, HADOOP-13556-002.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