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-10830) Missing lock in JavaKeyStoreProvider.createCredentialEntry
Date Tue, 15 Jul 2014 17:35:04 GMT

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

Larry McCay commented on HADOOP-10830:
--------------------------------------

+1

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

Mime
View raw message