HDFS-14453. Improve Bad Sequence Number Error Message. Contributed by Shweta.
Signed-off-by: Wei-Chiu Chuang <weichiu@apache.org>
This commit is contained in:
parent
1df679985b
commit
d6b7609c96
|
@ -1152,9 +1152,9 @@ class DataStreamer extends Daemon {
|
||||||
one = ackQueue.getFirst();
|
one = ackQueue.getFirst();
|
||||||
}
|
}
|
||||||
if (one.getSeqno() != seqno) {
|
if (one.getSeqno() != seqno) {
|
||||||
throw new IOException("ResponseProcessor: Expecting seqno" +
|
throw new IOException("ResponseProcessor: Expecting seqno " +
|
||||||
" for block " + block +
|
one.getSeqno() + " for block " + block +
|
||||||
one.getSeqno() + " but received " + seqno);
|
" but received " + seqno);
|
||||||
}
|
}
|
||||||
isLastPacketInBlock = one.isLastPacketInBlock();
|
isLastPacketInBlock = one.isLastPacketInBlock();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue