diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 83065fbb844..4385aed1f5a 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -888,6 +888,9 @@ Release 2.8.0 - UNRELEASED HDFS-8898. Create API and command-line argument to get quota and quota usage without detailed content summary. (Ming Ma via kihwal) + HDFS-9706. Log more details in debug logs in BlockReceiver's constructor. + (Xiao Chen via Yongjun Zhang) + OPTIMIZATIONS HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java index 8003c76b397..5a8fa979758 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/BlockReceiver.java @@ -184,12 +184,18 @@ class BlockReceiver implements Closeable { this.maxSendIdleTime = (long) (readTimeout * 0.9); if (LOG.isDebugEnabled()) { LOG.debug(getClass().getSimpleName() + ": " + block - + "\n isClient =" + isClient + ", clientname=" + clientname - + "\n isDatanode=" + isDatanode + ", srcDataNode=" + srcDataNode - + "\n inAddr=" + inAddr + ", myAddr=" + myAddr - + "\n cachingStrategy = " + cachingStrategy - + "\n pinning=" + pinning - ); + + "\n storageType=" + storageType + ", inAddr=" + inAddr + + ", myAddr=" + myAddr + "\n stage=" + stage + ", newGs=" + newGs + + ", minBytesRcvd=" + minBytesRcvd + + ", maxBytesRcvd=" + maxBytesRcvd + "\n clientname=" + clientname + + ", srcDataNode=" + srcDataNode + + ", datanode=" + datanode.getDisplayName() + + "\n requestedChecksum=" + requestedChecksum + + "\n cachingStrategy=" + cachingStrategy + + "\n allowLazyPersist=" + allowLazyPersist + ", pinning=" + pinning + + ", isClient=" + isClient + ", isDatanode=" + isDatanode + + ", responseInterval=" + responseInterval + ); } //