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 0E3EE18A97 for ; Thu, 17 Dec 2015 02:29:47 +0000 (UTC) Received: (qmail 94901 invoked by uid 500); 17 Dec 2015 02:29:46 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 94803 invoked by uid 500); 17 Dec 2015 02:29:46 -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 94781 invoked by uid 99); 17 Dec 2015 02:29:46 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2015 02:29:46 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id ABF9E2C0AFA for ; Thu, 17 Dec 2015 02:29:46 +0000 (UTC) Date: Thu, 17 Dec 2015 02:29:46 +0000 (UTC) From: "Yongjun Zhang (JIRA)" To: hdfs-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HDFS-9569) Change msg issused before loading fsimage to Info from debug for better supportability MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Yongjun Zhang created HDFS-9569: ----------------------------------- Summary: Change msg issused before loading fsimage to Info from debug for better supportability Key: HDFS-9569 URL: https://issues.apache.org/jira/browse/HDFS-9569 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Reporter: Yongjun Zhang Assignee: Yongjun Zhang Priority: Trivial When NN starts to load fsimage, it does {code} void loadFSImageFile(FSNamesystem target, MetaRecoveryContext recovery, FSImageFile imageFile, StartupOption startupOption) throws IOException { LOG.debug("Planning to load image :\n" + imageFile); ...... long txId = loader.getLoadedImageTxId(); LOG.info("Loaded image for txid " + txId + " from " + curFile); {code} A debug msg is issued at the beginning with the fsimage file name, then at the end an info msg is issued after loading. If the fsimage loading failed due to corrupted fsimage, we don't see the first msg. It'd be helpful to always be able to see from NN logs what fsimage file it's loading. Creating this jira to change the debug to info. {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)