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 A7B5710220 for ; Wed, 14 Aug 2013 20:57:48 +0000 (UTC) Received: (qmail 38213 invoked by uid 500); 14 Aug 2013 20:57:48 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 38188 invoked by uid 500); 14 Aug 2013 20:57: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 38176 invoked by uid 99); 14 Aug 2013 20:57:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Aug 2013 20:57:48 +0000 Date: Wed, 14 Aug 2013 20:57:48 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5051) Propagate cache status information from the DataNode to the 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-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740174#comment-13740174 ] Suresh Srinivas commented on HDFS-5051: --------------------------------------- bq. I included the gen stamp and length in the cacheReport to handle caching newly appended data. We need to specify what the cache behavior in this case is. My understanding was that for the first phase new data written will not be cached automatically. In fact any file that is being written to will not be cached until it is closed. Lets clearly define the behavior in these cases. Rest sounds good. Thank you [~andrew.wang] for comprehensive look at the comments. > Propagate cache status information from the DataNode to the NameNode > -------------------------------------------------------------------- > > Key: HDFS-5051 > URL: https://issues.apache.org/jira/browse/HDFS-5051 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Colin Patrick McCabe > Assignee: Andrew Wang > Attachments: hdfs-5051-1.patch, hdfs-5051-2.patch > > > The DataNode needs to inform the NameNode of its current cache state. Let's wire up the RPCs and stub out the relevant methods on the DN and NN side. -- 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