HDFS-16063. Add toString to EditLogFileInputStream. Contributed by Dionisii Iuzhakov.
This commit is contained in:
parent
329b95b620
commit
98e2781dde
|
@ -324,7 +324,15 @@ public class EditLogFileInputStream extends EditLogInputStream {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return getName();
|
return "EditLogFileInputStream{" +
|
||||||
|
"log=" + log.getName() +
|
||||||
|
", firstTxId=" + firstTxId +
|
||||||
|
", lastTxId=" + lastTxId +
|
||||||
|
", isInProgress=" + isInProgress +
|
||||||
|
", maxOpSize=" + maxOpSize +
|
||||||
|
", state=" + state +
|
||||||
|
", logVersion=" + logVersion +
|
||||||
|
'}';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue