hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Mollitor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-14453) Improve Bad Sequence Number Error Message
Date Tue, 23 Apr 2019 18:12:00 GMT
David Mollitor created HDFS-14453:
-------------------------------------

             Summary: Improve Bad Sequence Number Error Message
                 Key: HDFS-14453
                 URL: https://issues.apache.org/jira/browse/HDFS-14453
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: ipc
    Affects Versions: 3.2.0
            Reporter: David Mollitor


{code:java|title=DataStreamer.java}
          if (one.getSeqno() != seqno) {
            throw new IOException("ResponseProcessor: Expecting seqno" +
                " for block " + block +
                one.getSeqno() + " but received " + seqno);
          }
{code}

https://github.com/apache/hadoop/blob/685cb83e4c3f433c5147e35217ce79ea520a0da5/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java#L1154-L1158

There is no space between the {{block}} and the {{one.getSeqno()}}.  Please change to:

{code:java}
          if (one.getSeqno() != seqno) {
            throw new IOException("ResponseProcessor: Expecting seqno " + one.getSeqno()
                + " for block " + block + " but received " + seqno);
          }
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message