Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 69049 invoked from network); 27 Mar 2008 17:56:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Mar 2008 17:56:07 -0000 Received: (qmail 85362 invoked by uid 500); 27 Mar 2008 17:55:36 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 85333 invoked by uid 500); 27 Mar 2008 17:55:36 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 85321 invoked by uid 99); 27 Mar 2008 17:55:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 10:55:36 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Mar 2008 17:55:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CBF69234C0AE for ; Thu, 27 Mar 2008 10:53:24 -0700 (PDT) Message-ID: <1540933878.1206640404834.JavaMail.jira@brutus> Date: Thu, 27 Mar 2008 10:53:24 -0700 (PDT) From: "Sameer Paranjpye (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3002) HDFS should not remove blocks while in safemode. In-Reply-To: <403268954.1205283046764.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sameer Paranjpye updated HADOOP-3002: ------------------------------------- Priority: Major (was: Blocker) > HDFS should not remove blocks while in safemode. > ------------------------------------------------ > > Key: HADOOP-3002 > URL: https://issues.apache.org/jira/browse/HADOOP-3002 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Reporter: Konstantin Shvachko > Fix For: 0.17.0 > > > I noticed that data-nodes are removing blocks during a rather prolonged distributed upgrade when the name-node is in safe mode. > This happened on my experimental cluster with accelerated block report rate. > By definition in safe mode the name-node should not > - accept client requests to change the namespace state, and > - schedule block replications and/or block removal for the data-nodes. > We don't want any unnecessary replications until all blocks are reported during startup. > We also don't want to remove blocks if safe mode is entered manually. > In heartbeat processing we explicitly verify that the name-node is in safe-mode and do not return any block commands to the data-nodes. > Block reports can also return block commands, which should be banned during safe mode. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.