hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Junping Du (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8472) Implementation of ReplicaPlacementPolicyNodeGroup to support 4-layer network topology
Date Thu, 28 Jun 2012 14:37:44 GMT

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

Junping Du commented on HADOOP-8472:
------------------------------------

Honest saying, the test class TestReplicationPolicyWithNodeGroup get lots of code from TestReplicationPolicy
but add test on NodeGroup relationship for each test scenario. Please comment if it is necessary
to refactor the parent class (TestReplicationPolicy) then the sub-class can reuse most code.
If so, I will do it soon.
                
> Implementation of ReplicaPlacementPolicyNodeGroup to support 4-layer network topology
> -------------------------------------------------------------------------------------
>
>                 Key: HADOOP-8472
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8472
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: ha, io
>    Affects Versions: 1.0.0, 2.0.0-alpha
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: HADOOP-8472-BlockPlacementPolicyWithNodeGroup-impl-v2.patch, HADOOP-8472-BlockPlacementPolicyWithNodeGroup-impl-v3.patch,
HADOOP-8472-BlockPlacementPolicyWithNodeGroup-impl.patch
>
>
> A subclass of ReplicaPlacementPolicyDefault, ReplicaPlacementPolicyNodeGroup was developed
along with unit tests to support the four-layer hierarchical topology.
> The replica placement strategy used in ReplicaPlacementPolicyNodeGroup virtualization
is almost the same as the original one. The differences are:
> 1. The 3rd replica will be off node group of the 2nd replica
> 2. If there is no local node available, the 1st replica will be placed on a node in the
local node group.

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