Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 32987 invoked from network); 15 Sep 2010 05:22:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Sep 2010 05:22:19 -0000 Received: (qmail 89241 invoked by uid 500); 15 Sep 2010 05:22:19 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 89146 invoked by uid 500); 15 Sep 2010 05:22:16 -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 89138 invoked by uid 99); 15 Sep 2010 05:22:15 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 05:22:15 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Sep 2010 05:21:58 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o8F5La3p029541 for ; Wed, 15 Sep 2010 05:21:36 GMT Message-ID: <9838106.196471284528096300.JavaMail.jira@thor> Date: Wed, 15 Sep 2010 01:21:36 -0400 (EDT) From: "dhruba borthakur (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Commented: (HDFS-779) Automatic move to safe-mode when cluster size drops In-Reply-To: <492528515.1258656579663.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12909598#action_12909598 ] dhruba borthakur commented on HDFS-779: --------------------------------------- @Joy: I agree that not losing heartbeats is the best scenario. In the case I mentioned in my above comment, we would not lose datanode heartbeats if we implement HDFS-1392. On the other hand, if there is a true network partition, then NN will "lose heartbeats" from datanodes, because the datanodes cannot send messages to the NN. In that case, the NN should delay creating a replication-storm in the hope that the network partition gets resolved soon. So, the heuristic that I listed above to detect a network partition should still be applicable, isn't it? > Automatic move to safe-mode when cluster size drops > --------------------------------------------------- > > Key: HDFS-779 > URL: https://issues.apache.org/jira/browse/HDFS-779 > Project: Hadoop HDFS > Issue Type: New Feature > Components: name-node > Reporter: Owen O'Malley > Assignee: dhruba borthakur > > As part of looking at using Kerberos, we want to avoid the case where both the primary (and optional secondary) KDC go offline causing a replication storm as the DataNodes' service tickets time out and they lose the ability to connect to the NameNode. However, this is a specific case of a more general problem of loosing too many nodes too quickly. I think we should have an option to go into safe mode if the cluster size goes down more than N% in terms of DataNodes. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.