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

Incorrect header or version mismatch log message

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.2.0
    • 3.3.0, 3.2.1, 3.1.3
    • ipc

    Description

      Server.java
                if (!RpcConstants.HEADER.equals(dataLengthBuffer)
                    || version != CURRENT_VERSION) {
                  //Warning is ok since this is not supposed to happen.
                  LOG.warn("Incorrect header or version mismatch from " + 
                           hostAddress + ":" + remotePort +
                           " got version " + version + 
                           " expected version " + CURRENT_VERSION);
                  setupBadVersionResponse(version);
                  return -1;
      

      This message should include the value of RpcConstants.HEADER and dataLengthBuffer in addition to just the version information or else that data is lost.

      Attachments

        1. HDFS-14451.001.patch
          2 kB
          Shweta
        2. HDFS-14451.002.patch
          2 kB
          Shweta

        Activity

          People

            shwetayakkali Shweta
            belugabehr David Mollitor
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: