hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-10830) Missing lock in JavaKeyStoreProvider.createCredentialEntry
Date Wed, 16 Jul 2014 03:12:05 GMT

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

Benoy Antony commented on HADOOP-10830:
---------------------------------------

[~umamaheswararao], could you please review this patch also ?


> 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