[
https://issues.apache.org/jira/browse/HADOOP-10830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Benoy Antony updated HADOOP-10830:
----------------------------------
Attachment: HADOOP-10830.patch
Added calls to obtain and release _writeLock_.
Since there is no change in functionality, no tests are added.
> 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
> Reporter: Benoy Antony
> Assignee: Benoy Antony
> Attachments: 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)