hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5548) Use ConcurrentHashMap in portmap
Date Wed, 27 Nov 2013 13:22:40 GMT

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

Hudson commented on HDFS-5548:
------------------------------

FAILURE: Integrated in Hadoop-Hdfs-trunk #1595 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/1595/])
HDFS-5548. Use ConcurrentHashMap in portmap. Contributed by Haohui Mai (brandonli: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1545756)
* /hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/portmap/PortmapInterface.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/portmap/PortmapRequest.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/main/java/org/apache/hadoop/portmap/RpcProgramPortmap.java
* /hadoop/common/trunk/hadoop-common-project/hadoop-nfs/src/test/java/org/apache/hadoop/portmap/TestPortmap.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt


> Use ConcurrentHashMap in portmap
> --------------------------------
>
>                 Key: HDFS-5548
>                 URL: https://issues.apache.org/jira/browse/HDFS-5548
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: nfs
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 2.2.1
>
>         Attachments: HDFS-5548.000.patch, HDFS-5548.001.patch, HDFS-5548.002.patch, HDFS-5548.003.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