[
https://issues.apache.org/jira/browse/HDFS-9443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15014719#comment-15014719
]
ASF GitHub Bot commented on HDFS-9443:
--------------------------------------
GitHub user cnauroth opened a pull request:
https://github.com/apache/hadoop/pull/49
HDFS-9443. Disabling HDFS client socket cache causes logging message …
…printed to console for CLI commands.
This is a trivial patch to change the log statement to debug level.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cnauroth/hadoop-1 HDFS-9443
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/49.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #49
----
commit 06fbad10968b112dbd2981ce80747db1c261eafa
Author: cnauroth <[email protected]>
Date: 2015-11-19T23:03:27Z
HDFS-9443. Disabling HDFS client socket cache causes logging message
printed to console for CLI commands.
----
> 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
>
> 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)