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 4DD2811C95 for ; Wed, 3 Sep 2014 17:58:53 +0000 (UTC) Received: (qmail 82895 invoked by uid 500); 3 Sep 2014 17:58:52 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 82717 invoked by uid 500); 3 Sep 2014 17:58:52 -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 82509 invoked by uid 99); 3 Sep 2014 17:58:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2014 17:58:52 +0000 Date: Wed, 3 Sep 2014 17:58:52 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-6991) Notify NN of evicted block before deleting it from RAM disk 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-6991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal resolved HDFS-6991. --------------------------------- Resolution: Duplicate I'll include the fix in HDFS-6930 since the same code is modified by both patches. > Notify NN of evicted block before deleting it from RAM disk > ----------------------------------------------------------- > > Key: HDFS-6991 > URL: https://issues.apache.org/jira/browse/HDFS-6991 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Affects Versions: HDFS-6581 > Reporter: Arpit Agarwal > Assignee: Arpit Agarwal > Attachments: HDFS-6991.01.patch > > > When evicting a block from RAM disk to persistent storage, the DN should notify the NN of the persistent replica before deleting the replica from RAM disk. Else there can be a window of time during which the block is considered 'missing' by the NN. > Found by [~xyao] via HDFS-6950. -- This message was sent by Atlassian JIRA (v6.3.4#6332)