From fa577ad92c62232c91beadeed952cfd8512dd06c Mon Sep 17 00:00:00 2001 From: Wellington Ramos Chevreuil Date: Thu, 27 May 2021 19:54:25 +0100 Subject: [PATCH] HBASE-25933 Log trace raw exception, instead of cause message in NettyRpcServerRequestDecoder (#3323) Signed-off-by: Rushabh Shah Signed-off-by: Peter Somogyi Signed-off-by: Josh Elser (Cherry picked from commit feb89d988b73512c6c68072c4db669dbb703bfc6) --- .../apache/hadoop/hbase/ipc/NettyRpcServerRequestDecoder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServerRequestDecoder.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServerRequestDecoder.java index 1e844bb02cb..40f59ad1259 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServerRequestDecoder.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/NettyRpcServerRequestDecoder.java @@ -74,7 +74,7 @@ class NettyRpcServerRequestDecoder extends ChannelInboundHandlerAdapter { public void exceptionCaught(ChannelHandlerContext ctx, Throwable e) { allChannels.remove(ctx.channel()); NettyRpcServer.LOG.trace("Connection {}; caught unexpected downstream exception.", - ctx.channel().remoteAddress(), e.getCause()); + ctx.channel().remoteAddress(), e); ctx.channel().close(); } }