You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/02/24 13:14:00 UTC

[jira] [Commented] (IMPALA-12801) Increase default query_log_size

    [ https://issues.apache.org/jira/browse/IMPALA-12801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820334#comment-17820334 ] 

ASF subversion and git services commented on IMPALA-12801:
----------------------------------------------------------

Commit f5c12c65db79c2588e96eafb3a196c80568c0364 in impala's branch refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f5c12c65d ]

IMPALA-12801: Increase query_log_ default size and bound its memory.

Coordinator's /queries page is useful to show information about recently
run and completed queries. Having more entries will be helpful to
inspect queries that completed further back. The maximum entry of this
table is controlled by 'query_log_size' flag. Higher value means more
queries to keep, but it also cost more memory overhead in coordinator.

This patch increase 'query_log_size' default value from 100 to 200. This
patch also add flag 'query_log_size_in_bytes' (default to 2GB) as an
additional safeguard to evict entry from query_log_ when this limit
exceeded, preventing query_log_ total memory to grow prohibitively
large. 'query_log_size_in_bytes' is used in combination with
'query_log_size' to limit the number of QueryStateRecord to retain in
query_log_, whichever is less.

Testing:
- Pass exhaustive tests.

Change-Id: I107e2c2c7f2b239557be37360e8eecf5479e8602
Reviewed-on: http://gerrit.cloudera.org:8080/21020
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Increase default query_log_size
> -------------------------------
>
>                 Key: IMPALA-12801
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12801
>             Project: IMPALA
>          Issue Type: Task
>          Components: Backend
>            Reporter: Riza Suminto
>            Assignee: Riza Suminto
>            Priority: Major
>             Fix For: Impala 4.4.0
>
>
> Coordinator's /query page is useful to show information about recently run and completed queries. There has been request from user to increase the default query_log_size from current 100.
> I have run exhaustive test with query_log_size increased to 200 and coordinator seems to holds up pretty well.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org