HADOOP-6343. Log unexpected throwable object caught in RPC. Contributed by Jitendra Nath Pandey
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@832249 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
408117957e
commit
f5f95fe43a
|
@ -639,6 +639,9 @@ Release 0.21.0 - Unreleased
|
|||
HADOOP-5107. Use Maven ant tasks to publish the subproject jars.
|
||||
(Giridharan Kesavan via omalley)
|
||||
|
||||
HADOOP-6343. Log unexpected throwable object caught in RPC. (Jitendra Nath
|
||||
Pandey via szetszwo)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
HADOOP-5595. NameNode does not need to run a replicator to choose a
|
||||
|
|
|
@ -553,6 +553,9 @@ public class RPC {
|
|||
throw ioe;
|
||||
}
|
||||
} catch (Throwable e) {
|
||||
if (!(e instanceof IOException)) {
|
||||
LOG.error("Unexpected throwable object ", e);
|
||||
}
|
||||
IOException ioe = new IOException(e.toString());
|
||||
ioe.setStackTrace(e.getStackTrace());
|
||||
throw ioe;
|
||||
|
|
Loading…
Reference in New Issue