Repository: hbase Updated Branches: refs/heads/branch-1.2 03167638b -> 23bd2275a
HBASE-15551 Make call queue too big exception use servername Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/23bd2275 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/23bd2275 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/23bd2275 Branch: refs/heads/branch-1.2 Commit: 23bd2275ab836265fd60e4cf4ec1d26f6f3134e4 Parents: 0316763 Author: Mikhail Antonov <anto...@apache.org> Authored: Fri Apr 29 10:25:14 2016 -0700 Committer: Mikhail Antonov <anto...@apache.org> Committed: Fri Apr 29 11:18:34 2016 -0700 ---------------------------------------------------------------------- .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/23bd2275/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java ---------------------------------------------------------------------- diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java index 2386ef1..b9b4e7a 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java @@ -1807,9 +1807,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver { responder, totalRequestSize, null, null); ByteArrayOutputStream responseBuffer = new ByteArrayOutputStream(); metrics.exception(CALL_QUEUE_TOO_BIG_EXCEPTION); - InetSocketAddress address = getListenerAddress(); setupResponse(responseBuffer, callTooBig, CALL_QUEUE_TOO_BIG_EXCEPTION, - "Call queue is full on " + (address != null ? address : "(channel closed)") + + "Call queue is full on " + server.getServerName() + ", is hbase.ipc.server.max.callqueue.size too small?"); responder.doRespond(callTooBig); return; @@ -1874,9 +1873,8 @@ public class RpcServer implements RpcServerInterface, ConfigurationObserver { ByteArrayOutputStream responseBuffer = new ByteArrayOutputStream(); metrics.exception(CALL_QUEUE_TOO_BIG_EXCEPTION); - InetSocketAddress address = getListenerAddress(); setupResponse(responseBuffer, call, CALL_QUEUE_TOO_BIG_EXCEPTION, - "Call queue is full on " + (address != null ? address : "(channel closed)") + + "Call queue is full on " + server.getServerName() + ", too many items queued ?"); responder.doRespond(call); }