hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoy Antony (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6512) Unnecessary synchronization on collection used for test
Date Tue, 10 Jun 2014 18:49:03 GMT
Benoy Antony created HDFS-6512:
----------------------------------

             Summary: Unnecessary synchronization on collection used for test
                 Key: HDFS-6512
                 URL: https://issues.apache.org/jira/browse/HDFS-6512
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: security
            Reporter: Benoy Antony
            Assignee: Benoy Antony
            Priority: Minor


The function _SecurityUtil.getKerberosInfo()_  is a function used during authentication and
authorization. 

It has two synchronized blocks and one of them is on testProviders. This is an unnecessary
lock given that the testProviders is empty in real scenario.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message