HDFS-14608. DataNode#DataTransfer should be named. Contributed by Inigo Goiri.

This commit is contained in:
Ayush Saxena 2019-08-08 00:37:56 +05:30
parent 827dbb11e2
commit de64253892
1 changed files with 5 additions and 0 deletions

View File

@ -2627,6 +2627,11 @@ public class DataNode extends ReconfigurableBase
IOUtils.closeSocket(sock);
}
}
@Override
public String toString() {
return "DataTransfer " + b + " to " + Arrays.asList(targets);
}
}
/***