David Mollitor created HDFS-14451: ------------------------------------- Summary: 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
{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-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org