[
https://issues.apache.org/jira/browse/IMPALA-14691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061446#comment-18061446
]
ASF subversion and git services commented on IMPALA-14691:
----------------------------------------------------------
Commit e36d717eb6165f42fafc8407a291e00bb0ee1169 in impala's branch
refs/heads/master from Balazs Hevele
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=e36d717eb ]
IMPALA-14691: Only log modified query options
Instead of always logging every query option as a key value pair,
only log the ones differing from their default values as defined
in TQueryOptions.
Most of the time, most, if not all, query options are not overridden,
and use the default value. Logging only the modified values gives a
shorter and more understandable information, as the full list is very
long.
A function to extract the necessary list of modified values already
exists (DebugQueryOptions), and is used e.g. in query profile.
An example to the per query log, with one option changed:
TClientRequest.queryOptions: ABORT_ON_ERROR=1
The list of changed query options will be listed independently of
where the set happens. For example, both values set with
--default_query_options startup param, and values changed with SET
inside impala shell will be listed if different from default value
in TQueryOptions.
Change-Id: Ibcd9eb80afaa3171f5436cabb4703bbae4581396
Reviewed-on: http://gerrit.cloudera.org:8080/24022
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
> Change query option logging to only report modified query options
> -----------------------------------------------------------------
>
> Key: IMPALA-14691
> URL: https://issues.apache.org/jira/browse/IMPALA-14691
> Project: IMPALA
> Issue Type: Improvement
> Components: Backend
> Affects Versions: Impala 4.5.0
> Reporter: Joe McDonnell
> Assignee: Balazs Hevele
> Priority: Major
>
> Impala logs the query options to the INFO log on the coordinator. It
> currently logs all query options and values. The number of query options has
> been growing, and this is currently ~200 lines of output. Most users don't
> change most of those settings, so the bulk of the options are at their
> default value. It would make the log shorter and more informative to log the
> options that are different from their default value (i.e. set via
> default_query_options or by the user session).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]