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 09A28101F3 for ; Sun, 23 Feb 2014 16:52:09 +0000 (UTC) Received: (qmail 32379 invoked by uid 500); 23 Feb 2014 16:51:54 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 31356 invoked by uid 500); 23 Feb 2014 16:51:22 -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 31166 invoked by uid 99); 23 Feb 2014 16:51:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 23 Feb 2014 16:51:21 +0000 Date: Sun, 23 Feb 2014 16:51:21 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HDFS-5922) DN heartbeat thread can get stuck in tight loop 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-5922?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Agarwal updated HDFS-5922: -------------------------------- Attachment: HDFS-5922.02.patch > DN heartbeat thread can get stuck in tight loop > ----------------------------------------------- > > Key: HDFS-5922 > URL: https://issues.apache.org/jira/browse/HDFS-5922 > Project: Hadoop HDFS > Issue Type: Bug > Components: datanode > Affects Versions: 2.3.0 > Reporter: Aaron T. Myers > Assignee: Arpit Agarwal > Attachments: HDFS-5922.01.patch, HDFS-5922.02.patch > > > We saw an issue recently on a test cluster where one of the DN threads was consuming 100% of a single CPU. Running jstack indicated that it was the DN heartbeat thread. I believe I've tracked down the cause to a bug in the accounting around the value of {{pendingReceivedRequests}}. > More details in the first comment. -- This message was sent by Atlassian JIRA (v6.1.5#6160)