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


Change subject: IMPALA-14502: Not tracking metrics in IncompleteTable
......................................................................

IMPALA-14502: Not tracking metrics in IncompleteTable

Tables that are in unloaded state are represented as IncompleteTable.
Table level metrics of them won't be used at all but occupy around 7KB
of memory for each table. This is a significant amount comparing to the
table name strings.

This patch skips initializing these metrics for IncompleteTable to save
memory usage. This reduces the initial memory requirement to launch
catalogd.

Change-Id: If0fcfeab99bbfbefe618d0abf7f2482a0cc5ef9f
---
M fe/src/main/java/org/apache/impala/catalog/IncompleteTable.java
1 file changed, 6 insertions(+), 0 deletions(-)



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

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

Reply via email to