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 6AEC118D14 for ; Sun, 6 Mar 2016 22:04:42 +0000 (UTC) Received: (qmail 62387 invoked by uid 500); 6 Mar 2016 22:04:41 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 62245 invoked by uid 500); 6 Mar 2016 22:04:41 -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 62219 invoked by uid 99); 6 Mar 2016 22:04:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Mar 2016 22:04:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CBF3D2C1F54 for ; Sun, 6 Mar 2016 22:04:40 +0000 (UTC) Date: Sun, 6 Mar 2016 22:04:40 +0000 (UTC) From: "Inigo Goiri (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (HDFS-9910) Datanode heartbeats can get blocked by disk in FsDatasetImpl#checkBlock() 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-9910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Inigo Goiri resolved HDFS-9910. ------------------------------- Resolution: Duplicate > Datanode heartbeats can get blocked by disk in FsDatasetImpl#checkBlock() > ------------------------------------------------------------------------- > > Key: HDFS-9910 > URL: https://issues.apache.org/jira/browse/HDFS-9910 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.7.2 > Reporter: Inigo Goiri > Assignee: Hua Liu > > When a data node needs to transfer a block, it validates the block in the heartbeat thread invoking the {{checkBlock()}} method of {{FsDatasetImpl}}, where it checks whether the block exists and gets the block length. If the block is valid, it then spins off a thread to do the actual block transfer. We found that during heavy disk IO the heartbeat thread hangs on {{replicaInfo.getBlockFile().exists()}} for more than 10 minutes. -- This message was sent by Atlassian JIRA (v6.3.4#6332)