Jason Fehr has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21094


Change subject: IMPALA-12859: Fix issue where query log estimated memory was 
not initializing to 0.
......................................................................

IMPALA-12859: Fix issue where query log estimated memory was not initializing 
to 0.

The query_log_est_total_size_ variable contains the total estimated
size in bytes of the query log list that holds the most recent queries
for use by the Impala http server in the web UI and web API. This
variable was not explicitly initialized and thus would sometimes be
initialized to very large values (on the order of petabytes). Since
this variable is read before being set, the large value prevented any
queries from being placed into the query log since those code saw the
query log as taking too much memory.

The internal-server-test calls the Impala web API to assert that
queries are run successfully. Since no queries were being placed into
the query log, no queries were being returned via the web API. The
internal-server-test ctests were then failing because they could not
assert their queries since the queries could not be found.

Change-Id: I431b50d35fb2db848cfd9cbc1ba32c4aa83931d2
---
M be/src/service/impala-server.h
1 file changed, 1 insertion(+), 1 deletion(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I431b50d35fb2db848cfd9cbc1ba32c4aa83931d2
Gerrit-Change-Number: 21094
Gerrit-PatchSet: 1
Gerrit-Owner: Jason Fehr <[email protected]>

Reply via email to