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 B56CE9A7F for ; Fri, 3 Feb 2012 19:54:25 +0000 (UTC) Received: (qmail 30432 invoked by uid 500); 3 Feb 2012 19:54:24 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 29819 invoked by uid 500); 3 Feb 2012 19:54:23 -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 29809 invoked by uid 99); 3 Feb 2012 19:54:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Feb 2012 19:54:23 +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; Fri, 03 Feb 2012 19:54:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 85F5618BF4B for ; Fri, 3 Feb 2012 19:54:02 +0000 (UTC) Date: Fri, 3 Feb 2012 19:54:02 +0000 (UTC) From: "Matt Foley (Reopened) (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <937209054.8740.1328298842550.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1096257630.3089.1317200685553.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Reopened] (HDFS-2379) 0.20: Allow block reports to proceed without holding FSDataset lock 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-2379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Foley reopened HDFS-2379: ------------------------------ There's been a request to include this in 1.0.1, but the patch doesn't apply; it conflicts with another patch on several files. Todd, would you be able to look at making the patch work in branch-1.0, please? > 0.20: Allow block reports to proceed without holding FSDataset lock > ------------------------------------------------------------------- > > Key: HDFS-2379 > URL: https://issues.apache.org/jira/browse/HDFS-2379 > Project: Hadoop HDFS > Issue Type: Bug > Components: data-node > Affects Versions: 1.1.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Priority: Critical > Fix For: 1.1.0 > > Attachments: hdfs-2379.txt, hdfs-2379.txt, hdfs-2379.txt, hdfs-2379.txt, hdfs-2379.txt, hdfs-2379.txt > > > As disks are getting larger and more plentiful, we're seeing DNs with multiple millions of blocks on a single machine. When page cache space is tight, block reports can take multiple minutes to generate. Currently, during the scanning of the data directories to generate a report, the FSVolumeSet lock is held. This causes writes and reads to block, timeout, etc, causing big problems especially for clients like HBase. > This JIRA is to explore some of the ideas originally discussed in HADOOP-4584 for the 0.20.20x series. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira