hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3615) Two BlockTokenSecretManager findbugs warnings
Date Wed, 11 Jul 2012 01:04:34 GMT

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

Aaron T. Myers updated HDFS-3615:
---------------------------------

    Attachment: HDFS-3615.patch

Here's a patch which should address the issue. Pretty trivial fix which just adds some synchronization
that's not strictly necessary, but it will silence the warnings.
                
> Two BlockTokenSecretManager findbugs warnings
> ---------------------------------------------
>
>                 Key: HDFS-3615
>                 URL: https://issues.apache.org/jira/browse/HDFS-3615
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: security
>    Affects Versions: 2.0.0-alpha
>            Reporter: Eli Collins
>            Assignee: Aaron T. Myers
>         Attachments: HDFS-3615.patch
>
>
> Looks like two findbugs warnings were introduced recently (see these across a couple
recent patches). Unclear what change introduced it as the file hasn't been modified and recent
committed changes pass the findbugs check.
> IS	Inconsistent synchronization of org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.keyUpdateInterval;
locked 75% of time
> IS	Inconsistent synchronization of org.apache.hadoop.hdfs.security.token.block.BlockTokenSecretManager.serialNo;
locked 75% of time

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message