Xuebin Su has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/22014


Change subject: IMPALA-13154: Update stats when load an HDFS table
......................................................................

IMPALA-13154: Update stats when load an HDFS table

Previously, some table statistics, such as the estimated memory usage
and the number of files, were only updated when a "FULL" Thrift object
of the table is requested. As a result, if a user ran a DESCRIBE
command on a table, and then tried to find the table on the Top-N page
of the web UI, the user would not find it.

This patch fixes the issue by updating the table statistics as soon as
an HDFS table is loaded. With this, no matter what Thrift object type of
the table is requested, the statistics will always be updated and
displayed on the web UI.

Testing:
- Added an e2e test in test_web_pages.py to make sure that table stats
  can be viewed on the web UI after DESCRIBE.

Change-Id: I6e2eb503b0f61b1e6403058bc5dc78d721e7e940
---
M fe/src/main/java/org/apache/impala/catalog/FeCatalogUtils.java
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
M tests/webserver/test_web_pages.py
3 files changed, 77 insertions(+), 35 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6e2eb503b0f61b1e6403058bc5dc78d721e7e940
Gerrit-Change-Number: 22014
Gerrit-PatchSet: 1
Gerrit-Owner: Xuebin Su <[email protected]>

Reply via email to