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 "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2025/09/26 14:41:00 UTC

[jira] [Updated] (IMPALA-14468) Workload management throws TableNotFoundException: Table not found: sys.impala_query_log on first execution

     [ https://issues.apache.org/jira/browse/IMPALA-14468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltán Borók-Nagy updated IMPALA-14468:
---------------------------------------
    Component/s: Backend

> Workload management throws TableNotFoundException: Table not found: sys.impala_query_log on first execution
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: IMPALA-14468
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14468
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>              Labels: workload-management
>
> When Workload management is used first, CatalogD reports error Table not found: sys.impala_query_log. (also for sys.impala_query_live)
> It is because during InitWorkloadManagement() we issue a ResetMetadata() request against sys.impala_query_log to retrieve its schema version. If the request fails with TableNotFound, we create the table. In other words, the current initialization of workload management generates error messages even when everything is going fine, and this can confuse users.
> Instead of calling ResetMetadata() we can test the existence of the workload management tables (sys.impala_query_log and sys.impala_query_live) first.



--
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