Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C0C4897DA for ; Tue, 3 Jul 2012 10:49:26 +0000 (UTC) Received: (qmail 64419 invoked by uid 500); 3 Jul 2012 10:49:26 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 64116 invoked by uid 500); 3 Jul 2012 10:49:26 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 64012 invoked by uid 99); 3 Jul 2012 10:49:24 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jul 2012 10:49:24 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 69996142854 for ; Tue, 3 Jul 2012 10:49:24 +0000 (UTC) Date: Tue, 3 Jul 2012 10:49:24 +0000 (UTC) From: "Junping Du (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1371142990.111.1341312564434.JavaMail.jiratomcat@issues-vm> In-Reply-To: <787059714.32794.1338788422876.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HADOOP-8472) Implementation of ReplicaPlacementPolicyNodeGroup to support 4-layer network topology MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-8472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Junping Du updated HADOOP-8472: ------------------------------- Attachment: HADOOP-8472-BlockPlacementPolicyWithNodeGroup-impl-v5.patch Two changes in v5 patch: 1. Remove TopologyResolver and TestTopologyResolver and put the static methods to NetworkTopology 2. Replace method of getRack(), getNodeGroup() with getFirstHalf() and getLastHalf() to hide NodeGroup info from pluggable class. > 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-v4.patch, HADOOP-8472-BlockPlacementPolicyWithNodeGroup-impl-v5.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