hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haohui Mai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-5548) Use ConcurrentHashMap in portmap
Date Thu, 21 Nov 2013 21:17:35 GMT
Haohui Mai created HDFS-5548:
--------------------------------

             Summary: Use ConcurrentHashMap in portmap
                 Key: HDFS-5548
                 URL: https://issues.apache.org/jira/browse/HDFS-5548
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Haohui Mai
            Assignee: Haohui Mai
         Attachments: HDFS-5548.000.patch

Portmap uses a HashMap to store the port mapping. It synchronizes the access of the hash map
by locking itself. It can be simplified by using a ConcurrentHashMap.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message