Description
Similar to the fix in HADOOP-6419, in file:
hadoop-rel-release-2.7.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/Server.java
Connection c = (Connection)key.attachment(); ... LOG.info(Thread.currentThread().getName() + ": readAndProcess from client " + c.getHostAddress() + " threw exception [" + e + "]", (e instanceof WrappedRpcServerException) ? null : e); ...
in class Connection, the toString method contains both getHostAddress() and remotePort
public String toString() { return getHostAddress() + ":" + remotePort; }
Therefore the c.getHostAddress() should be replaced by c for simplicity and information wise.
Attachments
Issue Links
- is part of
-
HADOOP-14034 Allow ipc layer exceptions to selectively close connections
-
- Resolved
-