diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index bcd48fc118f..192331ab741 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -54,6 +54,9 @@ Trunk (unreleased changes) HADOOP-7704. Reduce number of object created by JMXJsonServlet. (Devaraj K via Eric Yang) + HADOOP-7695. RPC.stopProxy can throw unintended exception while logging + error (atm) + Release 0.23.0 - Unreleased INCOMPATIBLE CHANGES diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java index 5256e5e9356..9500c9bfe96 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/ipc/RPC.java @@ -489,7 +489,8 @@ public class RPC { } } else { LOG.error("Could not get invocation handler " + invocationHandler + - " for proxy " + proxy + ", or invocation handler is not closeable."); + " for proxy class " + (proxy == null ? null : proxy.getClass()) + + ", or invocation handler is not closeable."); } }