HDFS-16063. Add toString to EditLogFileInputStream. Contributed by Dionisii Iuzhakov.

This commit is contained in:
Ayush Saxena 2021-09-23 10:44:39 +05:30
parent 329b95b620
commit 98e2781dde
No known key found for this signature in database
GPG Key ID: D09AE71061AB564D

View File

@ -324,7 +324,15 @@ public boolean isInProgress() {
@Override
public String toString() {
return getName();
return "EditLogFileInputStream{" +
"log=" + log.getName() +
", firstTxId=" + firstTxId +
", lastTxId=" + lastTxId +
", isInProgress=" + isInProgress +
", maxOpSize=" + maxOpSize +
", state=" + state +
", logVersion=" + logVersion +
'}';
}
/**