[
https://issues.apache.org/jira/browse/HADOOP-15418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656081#comment-16656081
]
Wei-Chiu Chuang commented on HADOOP-15418:
------------------------------------------
+1. HADOOP-15411 made Configuration.getPropsWithPrefix() thread-safe, so use
that API instead to avoid ConcurrentModificationException. (Although I don't
think this is a problem in the context of KMS server).
Patch rev 002 has a trivial checkstyle warning. I can fix that and post a
rev003 for posterity.
> Hadoop KMSAuthenticationFilter needs to use getPropsByPrefix instead of
> iterator to avoid ConcurrentModificationException
> -------------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-15418
> URL: https://issues.apache.org/jira/browse/HADOOP-15418
> Project: Hadoop Common
> Issue Type: Bug
> Components: common
> Reporter: Suma Shivaprasad
> Assignee: Suma Shivaprasad
> Priority: Major
> Attachments: HADOOP-15418.1.patch, HADOOP-15418.2.patch
>
>
> The issue is similar to what was fixed in HADOOP-15411. Fixing this in
> KMSAuthenticationFilter as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]