HDFS-7956. Improve logging for DatanodeRegistration. Contributed by Plamen Jeliazkov.

This commit is contained in:
Plamen Jeliazkov 2015-03-23 23:04:04 -07:00 committed by Konstantin V Shvachko
parent 50ee8f4e67
commit 970ee3fc56
2 changed files with 4 additions and 1 deletions

View File

@ -777,6 +777,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7917. Use file to replace data dirs in test to simulate a disk failure.
(Lei (Eddy) Xu via cnauroth)
HDFS-7956. Improve logging for DatanodeRegistration.
(Plamen Jeliazkov via shv)
OPTIMIZATIONS
HDFS-7454. Reduce memory footprint for AclEntries in NameNode.

View File

@ -100,7 +100,7 @@ public class DatanodeRegistration extends DatanodeID
@Override
public String toString() {
return getClass().getSimpleName()
+ "(" + getIpAddr()
+ "(" + super.toString()
+ ", datanodeUuid=" + getDatanodeUuid()
+ ", infoPort=" + getInfoPort()
+ ", infoSecurePort=" + getInfoSecurePort()