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:
Shweta 2019-05-02 14:24:04 -07:00 committed by Wei-Chiu Chuang
parent 1df679985b
commit d6b7609c96
1 changed files with 3 additions and 3 deletions

View File

@ -1153,8 +1153,8 @@ class DataStreamer extends Daemon {
}
if (one.getSeqno() != seqno) {
throw new IOException("ResponseProcessor: Expecting seqno " +
" for block " + block +
one.getSeqno() + " but received " + seqno);
one.getSeqno() + " for block " + block +
" but received " + seqno);
}
isLastPacketInBlock = one.isLastPacketInBlock();