Lars Volker created IMPALA-8388:
-----------------------------------

             Summary: Misleading error message when rejecting incoming RPCs b/c 
of memory pressure
                 Key: IMPALA-8388
                 URL: https://issues.apache.org/jira/browse/IMPALA-8388
             Project: IMPALA
          Issue Type: Bug
          Components: Backend
    Affects Versions: Impala 3.2.0, Impala 3.1.0, Impala 2.12.0, Impala 3.3.0
            Reporter: Lars Volker


When running out of memory we reject incoming RPCs (expected). However, our 
error message assumes that the queue is full and prints it as INT_MAX (the 
queue size):

{code}
void ImpalaServicePool::RejectTooBusy(kudu::rpc::InboundCall* c) {
  string err_msg =
      Substitute("$0 request on $1 from $2 dropped due to backpressure. "
                 "The service queue contains $3 items out of a maximum of $4; "
                 "memory consumption is $5.",
                 c->remote_method().method_name(),
                 service_->service_name(),
                 c->remote_address().ToString(),
                 service_queue_.estimated_queue_length(),
                 service_queue_.max_size(),             // <-- HERE
                 PrettyPrinter::Print(service_mem_tracker_->consumption(), 
TUnit::BYTES));
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to