hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry McCay (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13556) Change Configuration.getPropsWithPrefix to use getProps instead of iterator
Date Sun, 28 Aug 2016 21:12:20 GMT

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

Larry McCay commented on HADOOP-13556:
--------------------------------------

Turns out it was already committed at e9ee258d04705f71c62c4d585686ad0eec47d8f4 and is available
in branch-2.8.

> 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
>
>
> 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


Mime
View raw message