You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Arun Suresh (JIRA)" <ji...@apache.org> on 2017/10/11 21:52:00 UTC

[jira] [Commented] (HADOOP-13556) Change Configuration.getPropsWithPrefix to use getProps instead of iterator

    [ https://issues.apache.org/jira/browse/HADOOP-13556?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16201036#comment-16201036 ] 

Arun Suresh commented on HADOOP-13556:
--------------------------------------

Looks straightforward.
+1

> 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
>         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.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org