This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new d6b7609  HDFS-14453. Improve Bad Sequence Number Error Message. 
Contributed by Shweta.
d6b7609 is described below

commit d6b7609c9674c3d0175868d7190293f1925d779b
Author: Shweta <shwetayakk...@cloudera.com>
AuthorDate: Thu May 2 14:24:04 2019 -0700

    HDFS-14453. Improve Bad Sequence Number Error Message. Contributed by 
Shweta.
    
    Signed-off-by: Wei-Chiu Chuang <weic...@apache.org>
---
 .../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 54425b1..1a19517 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();
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to