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.