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 89E823834 for ; Mon, 2 May 2011 21:17:46 +0000 (UTC) Received: (qmail 12374 invoked by uid 500); 2 May 2011 21:17:44 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 12336 invoked by uid 500); 2 May 2011 21:17:44 -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 12290 invoked by uid 99); 2 May 2011 21:17:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 21:17:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 21:17:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2B5FEBEAE0 for ; Mon, 2 May 2011 21:17:03 +0000 (UTC) Date: Mon, 2 May 2011 21:17:03 +0000 (UTC) From: "Eli Collins (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1760756660.16418.1304371023174.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <805704935.68828.1303263546020.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HDFS-1850) DN should transmit absolute failed volume count rather than increments to the NN 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-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eli Collins updated HDFS-1850: ------------------------------ Attachment: hdfs-1850-6.patch Arg. Right patch this time. > DN should transmit absolute failed volume count rather than increments to the NN > -------------------------------------------------------------------------------- > > Key: HDFS-1850 > URL: https://issues.apache.org/jira/browse/HDFS-1850 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node, name-node > Reporter: Eli Collins > Assignee: Eli Collins > Fix For: 0.22.0 > > Attachments: hdfs-1850-1.patch, hdfs-1850-2.patch, hdfs-1850-3.patch, hdfs-1850-4.patch, hdfs-1850-5.patch, hdfs-1850-6.patch > > > The API added in HDFS-811 for the DN to report volume failures to the NN is "inc(DN)". However the given sequence of events will result in the NN forgetting about reported failed volumes: > # DN loses a volume and reports it > # NN restarts > # DN re-registers to the new NN > A more robust interface would be to have the DN report the total number of volume failures to the NN each heart beat (the same way other volume state is transmitted). > This will likely be an incompatible change since it requires changing the Datanode protocol. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira