Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 7E089192FA for ; Fri, 29 Apr 2016 21:54:14 +0000 (UTC) Received: (qmail 19331 invoked by uid 500); 29 Apr 2016 21:54:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 19256 invoked by uid 500); 29 Apr 2016 21:54:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 18965 invoked by uid 99); 29 Apr 2016 21:54:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Apr 2016 21:54:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 223292C1F5C for ; Fri, 29 Apr 2016 21:54:13 +0000 (UTC) Date: Fri, 29 Apr 2016 21:54:13 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-10328) Add cache pool level replication managment 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-10328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15264841#comment-15264841 ] Colin Patrick McCabe commented on HDFS-10328: --------------------------------------------- Hi [~xupener], Interesting idea. However, this doesn't sound like "cache pool level replication management", since the replication management is still per-directive, even after this patch. This seems like adding a per-cache-pool default. If you agree, can you update the JIRA name and some of the names in the patch? > Add cache pool level replication managment > ------------------------------------------- > > Key: HDFS-10328 > URL: https://issues.apache.org/jira/browse/HDFS-10328 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: caching > Reporter: xupeng > Assignee: xupeng > Priority: Minor > Fix For: 2.3.0 > > Attachments: HDFS-10328.001.patch > > > For now, hdfs cacheadmin can not set a replication num for cachepool. Each cache directive added in the cache pool should set their own replication num individually. > Consider this situation, we add daily hive table into cache pool "hive" .Each time i should set the same replication num for every table directive in the same cache pool. > I think we should enable setting a replication num for cachepool that every cache directive in the pool can inherit replication configuration from the pool. Also cache directive can override replication configuration explicitly by calling "add & modify directive -replication" command from cli. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org