[
https://issues.apache.org/jira/browse/HADOOP-10830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14066015#comment-14066015
]
Vinayakumar B commented on HADOOP-10830:
----------------------------------------
+1, looks good to me
> Missing lock in JavaKeyStoreProvider.createCredentialEntry
> ----------------------------------------------------------
>
> Key: HADOOP-10830
> URL: https://issues.apache.org/jira/browse/HADOOP-10830
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Affects Versions: 2.4.1
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Attachments: HADOOP-10830.patch, HADOOP-10830.patch
>
>
> _JavaKeyStoreProvider_ uses _ReentrantReadWriteLock_ to provide thread
> safety.
> The {{createCredentialEntry}} should hold _writeLock_ before adding the entry.
--
This message was sent by Atlassian JIRA
(v6.2#6252)