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 466A7185DA for ; Mon, 23 Nov 2015 00:21:12 +0000 (UTC) Received: (qmail 83365 invoked by uid 500); 23 Nov 2015 00:21:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83289 invoked by uid 500); 23 Nov 2015 00:21:11 -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 82912 invoked by uid 99); 23 Nov 2015 00:21:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2015 00:21:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 3328F2C1F76 for ; Mon, 23 Nov 2015 00:21:11 +0000 (UTC) Date: Mon, 23 Nov 2015 00:21:11 +0000 (UTC) From: "Hudson (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-9443) Disabling HDFS client socket cache causes logging message printed to console for CLI commands. 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-9443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15021268#comment-15021268 ] Hudson commented on HDFS-9443: ------------------------------ FAILURE: Integrated in Hadoop-Yarn-trunk #1432 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1432/]) HDFS-9443. Disabling HDFS client socket cache causes logging message (wheat9: rev 6039059c37626d3d1d231986440623a593e2726b) * hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/PeerCache.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Disabling HDFS client socket cache causes logging message printed to console for CLI commands. > ---------------------------------------------------------------------------------------------- > > Key: HDFS-9443 > URL: https://issues.apache.org/jira/browse/HDFS-9443 > Project: Hadoop HDFS > Issue Type: Bug > Components: hdfs-client > Reporter: Chris Nauroth > Assignee: Chris Nauroth > Priority: Trivial > Fix For: 2.8.0 > > Attachments: HDFS-9443.001.patch > > > The HDFS client's socket cache can be disabled by setting {{dfs.client.socketcache.capacity}} to {{0}}. When this is done, the {{PeerCache}} class logs an info-level message stating that the cache is disabled. This message is getting printed to the console for CLI commands, which disrupts CLI output. This issue proposes to downgrade to debug-level logging for this message. -- This message was sent by Atlassian JIRA (v6.3.4#6332)