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 1F365175DE for ; Mon, 9 Mar 2015 18:17:01 +0000 (UTC) Received: (qmail 74593 invoked by uid 500); 9 Mar 2015 18:16:38 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 74473 invoked by uid 500); 9 Mar 2015 18:16:38 -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 74461 invoked by uid 99); 9 Mar 2015 18:16:38 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2015 18:16:38 +0000 Date: Mon, 9 Mar 2015 18:16:38 +0000 (UTC) From: "Jing Zhao (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-7905) Refactor the checking the minimum replication logic in BlockManager MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jing Zhao created HDFS-7905: ------------------------------- Summary: Refactor the checking the minimum replication logic in BlockManager Key: HDFS-7905 URL: https://issues.apache.org/jira/browse/HDFS-7905 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Reporter: Jing Zhao Assignee: Jing Zhao Priority: Minor This is some refactoring separated from the HDFS-7285 branch. In the current BlockManager, the "checking the minimum replication" code is repeated in several places. It will be better to wrap it into a single function. This also make the further extension (for Erasure Coded blocks) easier and cleaner. -- This message was sent by Atlassian JIRA (v6.3.4#6332)