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 22D8317BD7 for ; Mon, 30 Mar 2015 20:37:54 +0000 (UTC) Received: (qmail 11459 invoked by uid 500); 30 Mar 2015 20:37:53 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 11287 invoked by uid 500); 30 Mar 2015 20:37:53 -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 11011 invoked by uid 99); 30 Mar 2015 20:37:53 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Mar 2015 20:37:53 +0000 Date: Mon, 30 Mar 2015 20:37:53 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-8005) Erasure Coding: simplify striped block recovery work computation and add tests 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-8005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jing Zhao resolved HDFS-8005. ----------------------------- Resolution: Fixed Fix Version/s: HDFS-7285 Hadoop Flags: Reviewed I've committed this. Thanks again for the review, Zhe! > Erasure Coding: simplify striped block recovery work computation and add tests > ------------------------------------------------------------------------------ > > Key: HDFS-8005 > URL: https://issues.apache.org/jira/browse/HDFS-8005 > Project: Hadoop HDFS > Issue Type: Sub-task > Reporter: Jing Zhao > Assignee: Jing Zhao > Fix For: HDFS-7285 > > Attachments: HDFS-8005.000.patch, HDFS-8005.000.patch, HDFS-8005.001.patch > > > HDFS-7369 adds the functionality to distribute recovery work of striped blocks to datanodes. There are still some pending issues: > # In {{BlockManager#chooseSourceNode}}, a node is added into {{healthyIndices}} without checking if its block is live and healthy > # The test {{TestRecoverStripedBlcoks#testMissingStripedBlock}} has not tested striped blocks because the file is created before setting the storage policy > # In {{computeRecoveryWorkForBlocks}}, instead of using {{BlockCollection#isStriped}}, we'd better use {{BlockInfo#isStriped}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)