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 "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/03/21 02:52:00 UTC

[jira] [Work started] (IMPALA-10582) Webpage of Catalogd operations doesn't sum up operations correctly

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

Work on IMPALA-10582 started by Quanlong Huang.
-----------------------------------------------
> Webpage of Catalogd operations doesn't sum up operations correctly
> ------------------------------------------------------------------
>
>                 Key: IMPALA-10582
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10582
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 4.0
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Minor
>         Attachments: catalogd_operations.png
>
>
> IMPALA-6663 adds a web page for catalogd to show all in-progress operations. While doing a stree test for IMPALA-10563, I found that the summary tab doesn't sum up the operations as I expected.
> !catalogd_operations.png|width=869,height=627!
> As shown by the snapshot, I have 5 in-progress FINALIZE_INSERT_INTO operations. But in the "In-progress Catalog Operations Summary" tab, it shows 1. It makes sense to me to show 5 as well.
> I think the reason is in be/src/catalog/catalog-server.cc, we only sum up requests by tables:
> {code:c++}
> void CatalogServer::OperationUsageUrlCallback(
>     const Webserver::WebRequest& req, Document* document) {
>   ...
>   // Create a summary and add it to the document
>   map<string, int> aggregated_operations;
>   for (const auto& catalog_op : opeartion_usage.catalog_op_counters) {
>     ++aggregated_operations[catalog_op.catalog_op_name];  // <---- should add catalog_op.op_counter here
>   }
>   ...
> }
> {code}
>  cc [~tmate]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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