Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id D6903200BCC for ; Tue, 29 Nov 2016 17:03:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id D3696160B27; Tue, 29 Nov 2016 16:03:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 4ED1D160AFC for ; Tue, 29 Nov 2016 17:03:00 +0100 (CET) Received: (qmail 73916 invoked by uid 500); 29 Nov 2016 16:02:59 -0000 Mailing-List: contact dev-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list dev@flink.apache.org Received: (qmail 73891 invoked by uid 99); 29 Nov 2016 16:02:59 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2016 16:02:59 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 1C8DF2C0079 for ; Tue, 29 Nov 2016 16:02:59 +0000 (UTC) Date: Tue, 29 Nov 2016 16:02:59 +0000 (UTC) From: "Ufuk Celebi (JIRA)" To: dev@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (FLINK-5207) Decrease HadoopFileSystem logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Nov 2016 16:03:01 -0000 Ufuk Celebi created FLINK-5207: ---------------------------------- Summary: Decrease HadoopFileSystem logging Key: FLINK-5207 URL: https://issues.apache.org/jira/browse/FLINK-5207 Project: Flink Issue Type: Improvement Reporter: Ufuk Celebi HadoopFileSystem logging is very noisy when trying to get the Hadoop configuration, which happens for every HadoopFileSystem. This happens for example when a checkpoint is written to HDFS in case of HA. 1) Two log messages relate to the user config: {code} final String hdfsDefaultPath = GlobalConfiguration.getString(ConfigConstants.HDFS_DEFAULT_CONFIG, null); if (hdfsDefaultPath != null) { retConf.addResource(new org.apache.hadoop.fs.Path(hdfsDefaultPath)); } else { LOG.debug("Cannot find hdfs-default configuration file"); } {code} Since this is reflected in the logged configuration properties, it is mostly unnecessary to log over and over again. Therefore I propose to go with TRACE. (2) Two log messages relate to the default config files of Hadoop. There I would change the debug message to happen only when they are *not* found. If it is still too noisy, we could completely remove it or decrease to TRACE at another time. -- This message was sent by Atlassian JIRA (v6.3.4#6332)