Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A85E811626 for ; Thu, 4 Sep 2014 21:23:25 +0000 (UTC) Received: (qmail 7443 invoked by uid 500); 4 Sep 2014 21:23:24 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 7285 invoked by uid 500); 4 Sep 2014 21:23:24 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 7065 invoked by uid 99); 4 Sep 2014 21:23:24 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Sep 2014 21:23:24 +0000 Date: Thu, 4 Sep 2014 21:23:24 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-6961) Archival Storage: BlockPlacementPolicy#chooseTarget should check each valid storage type in each choosing round 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/HDFS-6961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao resolved HDFS-6961. ----------------------------- Resolution: Fixed Hadoop Flags: Reviewed I've committed this. > Archival Storage: BlockPlacementPolicy#chooseTarget should check each valid storage type in each choosing round > --------------------------------------------------------------------------------------------------------------- > > Key: HDFS-6961 > URL: https://issues.apache.org/jira/browse/HDFS-6961 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: balancer, namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-6961.000.patch, HDFS-6961.001.patch, HDFS-6961.002.patch, HDFS-6961.002.patch, HDFS-6961.003.patch > > > Currently in each choosing round of BlockPlacementPolicy#chooseTarget (e.g., round 1 for choosing local storage, round 2 for remote rack, etc.), we only take into account the first storage type in the storage type list. This may > fail to choose the local machine or sometimes may even fail to choose enough nodes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)