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 7849610D0B for ; Mon, 22 Jul 2013 02:12:49 +0000 (UTC) Received: (qmail 20584 invoked by uid 500); 22 Jul 2013 02:12:49 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 20500 invoked by uid 500); 22 Jul 2013 02:12:49 -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 20488 invoked by uid 99); 22 Jul 2013 02:12:49 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Jul 2013 02:12:49 +0000 Date: Mon, 22 Jul 2013 02:12:49 +0000 (UTC) From: "Tsz Wo (Nicholas), SZE (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-5016) Heartbeating thread blocks under some failure conditions leading to loss of datanodes 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-5016?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714865#comment-13714865 ] Tsz Wo (Nicholas), SZE commented on HDFS-5016: ---------------------------------------------- I think it should throw an IOException in both cases. It will then fail receiveBlock(..) and stopWriter() (i.e. block recovery). Otherwise, these operations may fail silently. > Heartbeating thread blocks under some failure conditions leading to loss of datanodes > ------------------------------------------------------------------------------------- > > Key: HDFS-5016 > URL: https://issues.apache.org/jira/browse/HDFS-5016 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: Devaraj Das > Assignee: Suresh Srinivas > Priority: Blocker > Fix For: 2.1.0-beta > > Attachments: HDFS-5016.patch, jstack1.txt > > > In the testing of some failure scenarios for HBase MTTR, we have been simulating node failures via firewalling of nodes (where all communication ports would be firewalled except ssh's port). We have noticed that when a (data)node is firewalled, we lose certain other datanodes - those that were involved in some communication with the firewalled node before the latter was firewalled. Will attach jstack output from one of the lost datanodes. The heartbeating thread seems to be locked up. > This jira is to track a fix for the problem. -- 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