Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CAD949213 for ; Mon, 4 Jun 2012 05:35:26 +0000 (UTC) Received: (qmail 22820 invoked by uid 500); 4 Jun 2012 05:35:23 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 22578 invoked by uid 500); 4 Jun 2012 05:35:23 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 22563 invoked by uid 99); 4 Jun 2012 05:35:23 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jun 2012 05:35:23 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 1E759140BEF for ; Mon, 4 Jun 2012 05:35:23 +0000 (UTC) Date: Mon, 4 Jun 2012 05:35:23 +0000 (UTC) From: "Junping Du (JIRA)" To: common-dev@hadoop.apache.org Message-ID: <1279050050.32792.1338788123127.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (HADOOP-8471) Make ReplicaPlacementPolicyDefault extensible for reuse code in subclass MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Junping Du created HADOOP-8471: ---------------------------------- Summary: Make ReplicaPlacementPolicyDefault extensible for reuse code in subclass Key: HADOOP-8471 URL: https://issues.apache.org/jira/browse/HADOOP-8471 Project: Hadoop Common Issue Type: Sub-task Components: ha, io Affects Versions: 2.0.0-alpha, 1.0.0 Reporter: Junping Du Assignee: Junping Du ReplicaPlacementPolicy is already a pluggable component in Hadoop. A user specified ReplicaPlacementPolicy can be specified in the hdfs-site.xml configuration under the key "dfs.block.replicator.classname". However, to make it possible to reuse code in ReplicaPlacementPolicyDefault a few of its methods were changed from private to protected. ReplicaPlacementPolicy and BlockPlacementPolicyDefault are currently annotated with @InterfaceAudience.Private. -- 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