Quanlong Huang has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18772


Change subject: IMPALA-11401: Add logs on tables causing OOM in catalogd RPCs
......................................................................

IMPALA-11401: Add logs on tables causing OOM in catalogd RPCs

We've seen catalogd throws OutOfMemoryError errors when serializing
large responses (i.e. size > 2GB). However, the related table names are
missing in the logs. Admins would like to get the table names and
blacklist those tables until they are optimized (e.g. reducing
partitions).

This patch adds logs in the Catalogd RPC code paths to log some details
of the request, which improves our supportability.

Tests:
 - Manually add codes to throw OutOfMemory error and verify the logs
   shown as expected.

Change-Id: Iac7f2eda8b95643a3d3c3bef64ea71b67b20595a
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/JniCatalog.java
2 files changed, 118 insertions(+), 27 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iac7f2eda8b95643a3d3c3bef64ea71b67b20595a
Gerrit-Change-Number: 18772
Gerrit-PatchSet: 1
Gerrit-Owner: Quanlong Huang <[email protected]>

Reply via email to