hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daryn Sharp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-9930) Desync AbstractDelegationTokenSecretManager
Date Wed, 04 Sep 2013 20:20:52 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-9930?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daryn Sharp updated HADOOP-9930:
--------------------------------

    Attachment: HADOOP-9930.2.patch

Fix findbugs warnings by adding volatile to the key and token ids, and removing unnecessary
synchs from a few other methods.  I was primarily stripping synchs impeding normal operation
but the additional removals are ok too.
                
> Desync AbstractDelegationTokenSecretManager
> -------------------------------------------
>
>                 Key: HADOOP-9930
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9930
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>         Attachments: HADOOP-9930.2.patch, HADOOP-9930.patch
>
>
> The ADTSM is heavily synchronized.  The result is that verifying, creating, renewing,
and canceling tokens are all unnecessarily serialized.  The only operations should be serialized
are per-token renew and cancel operations.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message