[ 
https://issues.apache.org/jira/browse/HDFS-14451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wei-Chiu Chuang updated HDFS-14451:
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.1.3
                   3.2.1
                   3.3.0
           Status: Resolved  (was: Patch Available)

Pushed to trunk ~ branch-3.1. Thanks a lot!

> Incorrect header or version mismatch log message
> ------------------------------------------------
>
>                 Key: HDFS-14451
>                 URL: https://issues.apache.org/jira/browse/HDFS-14451
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: ipc
>    Affects Versions: 3.2.0
>            Reporter: David Mollitor
>            Assignee: Shweta
>            Priority: Minor
>              Labels: noob
>             Fix For: 3.3.0, 3.2.1, 3.1.3
>
>         Attachments: HDFS-14451.001.patch, HDFS-14451.002.patch
>
>
> {code:java|title=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;
> {code}
> This message should include the value of {{RpcConstants.HEADER}} and 
> {{dataLengthBuffer}} in addition to just the version information or else that 
> data is lost.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to