You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "David Mollitor (JIRA)" <ji...@apache.org> on 2019/04/23 14:49:00 UTC

[jira] [Updated] (HDFS-14451) Incorrect header or version mismatch log message

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

David Mollitor updated HDFS-14451:
----------------------------------
    Labels: noob  (was: )

> 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
>            Priority: Minor
>              Labels: noob
>
> {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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org