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
a6f20d80de
commit
6039059c37
|
@ -100,7 +100,7 @@ public class PeerCache {
|
||||||
this.expiryPeriod = e;
|
this.expiryPeriod = e;
|
||||||
|
|
||||||
if (capacity == 0 ) {
|
if (capacity == 0 ) {
|
||||||
LOG.info("SocketCache disabled.");
|
LOG.debug("SocketCache disabled.");
|
||||||
} else if (expiryPeriod == 0) {
|
} else if (expiryPeriod == 0) {
|
||||||
throw new IllegalStateException("Cannot initialize expiryPeriod to " +
|
throw new IllegalStateException("Cannot initialize expiryPeriod to " +
|
||||||
expiryPeriod + " when cache is enabled.");
|
expiryPeriod + " when cache is enabled.");
|
||||||
|
|
|
@ -2332,6 +2332,9 @@ Release 2.8.0 - UNRELEASED
|
||||||
HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
|
HDFS-9434. Recommission a datanode with 500k blocks may pause NN for 30
|
||||||
seconds for printing info log messags. (szetszwo)
|
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
|
Release 2.7.3 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
Loading…
Reference in New Issue