hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2454) Move maxXceiverCount check to before starting the thread in dataXceiver
Date Sun, 20 Nov 2011 13:41:52 GMT

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

Hudson commented on HDFS-2454:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #903 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/903/])
    HDFS-2454. Move maxXceiverCount check to before starting the thread in dataXceiver. Contributed
by Harsh J

eli : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1204124
Files : 
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiver.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/DataXceiverServer.java

                
> Move maxXceiverCount check to before starting the thread in dataXceiver
> -----------------------------------------------------------------------
>
>                 Key: HDFS-2454
>                 URL: https://issues.apache.org/jira/browse/HDFS-2454
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: data-node
>    Affects Versions: 0.23.0
>            Reporter: Uma Maheswara Rao G
>            Assignee: Harsh J
>            Priority: Minor
>             Fix For: 0.23.1
>
>         Attachments: HDFS-2454.patch
>
>
> We can hoist the maxXceiverCount out of DataXceiverServer#run, there's no need to check
each time we accept a connection, we can accept when we create a thread.

--
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