HDFS-10189. PacketResponder#toString should include the downstreams for PacketResponderType.HAS_DOWNSTREAM_IN_PIPELINE (Joe Pallas via cmccabe)
This commit is contained in:
parent
57ead18a85
commit
a7d8f2b396
@ -1157,7 +1157,7 @@ public String toString() {
|
|||||||
|
|
||||||
final StringBuilder b = new StringBuilder(getClass().getSimpleName())
|
final StringBuilder b = new StringBuilder(getClass().getSimpleName())
|
||||||
.append(": ").append(block).append(", type=").append(type);
|
.append(": ").append(block).append(", type=").append(type);
|
||||||
if (type != PacketResponderType.HAS_DOWNSTREAM_IN_PIPELINE) {
|
if (type == PacketResponderType.HAS_DOWNSTREAM_IN_PIPELINE) {
|
||||||
b.append(", downstreams=").append(downstreams.length)
|
b.append(", downstreams=").append(downstreams.length)
|
||||||
.append(":").append(Arrays.asList(downstreams));
|
.append(":").append(Arrays.asList(downstreams));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user