HDFS-9443. Disabling HDFS client socket cache causes logging message printed to console for CLI commands. Contributed by Chris Nauroth.

This commit is contained in:
Haohui Mai 2015-11-22 15:03:35 -08:00
parent edcd0dc0b2
commit 2c185222f9
2 changed files with 4 additions and 1 deletions

View File

@ -100,7 +100,7 @@ public class PeerCache {
this.expiryPeriod = e;
if (capacity == 0 ) {
LOG.info("SocketCache disabled.");
LOG.debug("SocketCache disabled.");
} else if (expiryPeriod == 0) {
throw new IllegalStateException("Cannot initialize expiryPeriod to " +
expiryPeriod + " when cache is enabled.");

View File

@ -1477,6 +1477,9 @@ Release 2.8.0 - UNRELEASED
HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
seconds for printing info log messags. (szetszwo)
HDFS-9443. Disabling HDFS client socket cache causes logging message
printed to console for CLI commands. (Chris Nauroth via wheat9)
Release 2.7.3 - UNRELEASED
INCOMPATIBLE CHANGES