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 CBD8B1891E for ; Sat, 20 Feb 2016 18:06:22 +0000 (UTC) Received: (qmail 6105 invoked by uid 500); 20 Feb 2016 18:06:18 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 5842 invoked by uid 500); 20 Feb 2016 18:06:18 -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 5747 invoked by uid 99); 20 Feb 2016 18:06:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Feb 2016 18:06:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2550C2C1F58 for ; Sat, 20 Feb 2016 18:06:18 +0000 (UTC) Date: Sat, 20 Feb 2016 18:06:18 +0000 (UTC) From: "Arpit Agarwal (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9839) Reduce verbosity of processReport logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Arpit Agarwal created HDFS-9839: ----------------------------------- Summary: Reduce verbosity of processReport logging Key: HDFS-9839 URL: https://issues.apache.org/jira/browse/HDFS-9839 Project: Hadoop HDFS Issue Type: Bug Components: namenode Affects Versions: 2.8.0 Reporter: Arpit Agarwal Assignee: Arpit Agarwal {{BlockManager#processReport}} logs one line for each invalidated block at INFO. HDFS-7503 moved this logging outside the NameSystem write lock but we still see the NameNode being slowed down when the number of block invalidations is very large e.g. just after a large amount of data is deleted. {code} for (Block b : invalidatedBlocks) { blockLog.info("BLOCK* processReport: {} on node {} size {} does not " + "belong to any file", b, node, b.getNumBytes()); } {code} We can change this statement to DEBUG and just log the number of block invalidations at INFO. -- This message was sent by Atlassian JIRA (v6.3.4#6332)