HADOOP-7695. RPC.stopProxy can throw unintended exception while logging error (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1179512 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14569ab482
commit
e95dfd8931
@ -54,6 +54,9 @@ Trunk (unreleased changes)
|
|||||||
HADOOP-7704. Reduce number of object created by JMXJsonServlet.
|
HADOOP-7704. Reduce number of object created by JMXJsonServlet.
|
||||||
(Devaraj K via Eric Yang)
|
(Devaraj K via Eric Yang)
|
||||||
|
|
||||||
|
HADOOP-7695. RPC.stopProxy can throw unintended exception while logging
|
||||||
|
error (atm)
|
||||||
|
|
||||||
Release 0.23.0 - Unreleased
|
Release 0.23.0 - Unreleased
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -489,7 +489,8 @@ public static void stopProxy(Object proxy) {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.error("Could not get invocation handler " + invocationHandler +
|
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.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user