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 "Larry McCay (JIRA)" <ji...@apache.org> on 2016/08/31 15:44:21 UTC
[jira] [Comment Edited] (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=15452574#comment-15452574 ]
Larry McCay edited comment on HADOOP-13556 at 8/31/16 3:44 PM:
---------------------------------------------------------------
Thanks, [~cnauroth] - that is helpful!
I know that I used to be able to do that - something must have changed.
Manual option is great though!
was (Author: lmccay):
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