Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14453

Improve Bad Sequence Number Error Message

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: ipc
    • Labels:

      Description

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

      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:

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

        Attachments

        1. HDFS-14453.001.patch
          1 kB
          Shweta

          Activity

            People

            • Assignee:
              shwetayakkali Shweta
              Reporter:
              belugabehr David Mollitor
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: