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 C738610C4A for ; Fri, 9 Aug 2013 00:31:48 +0000 (UTC) Received: (qmail 17690 invoked by uid 500); 9 Aug 2013 00:31:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 17634 invoked by uid 500); 9 Aug 2013 00:31:48 -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 17550 invoked by uid 99); 9 Aug 2013 00:31:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Aug 2013 00:31:48 +0000 Date: Fri, 9 Aug 2013 00:31:48 +0000 (UTC) From: "Colin Patrick McCabe (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5052) Add cacheRequest/uncacheRequest support to DFSAdmin and NameNode 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-5052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734253#comment-13734253 ] Colin Patrick McCabe commented on HDFS-5052: -------------------------------------------- Brandon, you raise a good point. I think the pool creation and management commands should be part of DFSAdmin, and the cachePathRequest commands should be part of FSShell. We are going to provide shell access as well as programmatic access. I will add pool support to this change and move the cache requests themselves to FSShell. It probably does make sense to create a unique cache ID for each successful new request. This is in keeping with our use of unique IDs in other places, e.g. inode numbers. This will also avoid using a potentially non-unique path as a cursor. will also add more javadoc > Add cacheRequest/uncacheRequest support to DFSAdmin and NameNode > ---------------------------------------------------------------- > > Key: HDFS-5052 > URL: https://issues.apache.org/jira/browse/HDFS-5052 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Colin Patrick McCabe > Assignee: Colin Patrick McCabe > Attachments: HDFS-5052.003.patch, HDFS-5052.004.patch > > > Add cacheRequest/uncacheRequest/listCacheRequest support to DFSAdmin and NameNode. Maintain a list of active CachingRequests on the NameNode. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira