From d6b7609c9674c3d0175868d7190293f1925d779b Mon Sep 17 00:00:00 2001 From: Shweta Date: Thu, 2 May 2019 14:24:04 -0700 Subject: [PATCH] HDFS-14453. Improve Bad Sequence Number Error Message. Contributed by Shweta. Signed-off-by: Wei-Chiu Chuang --- .../src/main/java/org/apache/hadoop/hdfs/DataStreamer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java index 54425b1c6da..1a195174527 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java @@ -1152,9 +1152,9 @@ class DataStreamer extends Daemon { one = ackQueue.getFirst(); } if (one.getSeqno() != seqno) { - throw new IOException("ResponseProcessor: Expecting seqno" + - " for block " + block + - one.getSeqno() + " but received " + seqno); + throw new IOException("ResponseProcessor: Expecting seqno " + + one.getSeqno() + " for block " + block + + " but received " + seqno); } isLastPacketInBlock = one.isLastPacketInBlock();