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-2825) Add test hook to turn off the writer preferring its local DN
Date Tue, 24 Jan 2012 13:24:41 GMT

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

Hudson commented on HDFS-2825:
------------------------------

Integrated in Hadoop-Mapreduce-trunk #968 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/968/])
    HDFS-2825. Add test hook to turn off the writer preferring its local DN. Contributed by
Todd Lipcon.

todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1235025
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/blockmanagement/BlockPlacementPolicyDefault.java
* /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java

                
> Add test hook to turn off the writer preferring its local DN
> ------------------------------------------------------------
>
>                 Key: HDFS-2825
>                 URL: https://issues.apache.org/jira/browse/HDFS-2825
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: name-node
>    Affects Versions: 0.23.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>            Priority: Minor
>             Fix For: 0.24.0, 0.23.1
>
>         Attachments: hdfs-2825.txt, hdfs-2825.txt
>
>
> Currently, the default block placement policy always places the first replica in the
pipeline on the local node if there is a valid DN running there. In some network designs,
within-rack bandwidth is never constrained so this doesn't give much of an advantage. It would
also be really useful to disable this for MiniDFSCluster tests, since currently if you start
a multi-DN cluster and write with replication level 1, all of the replicas go to the same
DN.
> _[per discussion below, this was changed to not add a config, but only to add a hook
for testing]_

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