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:
parent
edcd0dc0b2
commit
2c185222f9
|
@ -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.");
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue