Michael Ho has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12624


Change subject: IMPALA-8256: Better error message for 
ImpalaServicePool::RejectTooBusy()
......................................................................

IMPALA-8256: Better error message for ImpalaServicePool::RejectTooBusy()

An incoming request to a RPC service can be rejected due to either
exceeding the memory limit or maximum allowed queue length.
It's unclear from the current error message which of those factors
contributes to the failure as neither the actual queue length nor
the memory consumption is printed.

This patch fixes the problem by printing the estimated queue length
and memory consumption when a RPC request is dropped.

Testing done: verified the new error message with test_rpc_timeout.py

Change-Id: If0297658acf2b23823dcb7d2bdff5d8e4475bb98
---
M be/src/rpc/impala-service-pool.cc
M be/src/rpc/impala-service-pool.h
2 files changed, 7 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/24/12624/1
--
To view, visit http://gerrit.cloudera.org:8080/12624
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: If0297658acf2b23823dcb7d2bdff5d8e4475bb98
Gerrit-Change-Number: 12624
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Ho <k...@cloudera.com>

Reply via email to