You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@impala.apache.org by st...@apache.org on 2024/08/07 02:32:15 UTC
(impala) 02/03: IMPALA-13252: (Addendum) PrintId cancel query
This is an automated email from the ASF dual-hosted git repository.
stigahuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git
commit 72e38f0e7517f1e140bb833278832a72fb1e0501
Author: Michael Smith <mi...@cloudera.com>
AuthorDate: Tue Aug 6 11:17:32 2024 -0700
IMPALA-13252: (Addendum) PrintId cancel query
Use PrintId in log message "CancelFromThreadPool(): cancel query <id>".
Fixes test_no_tuniqueid in exhaustive test runs.
Change-Id: Id17af7bfd51264ce147878072b739845e3a6cfec
Reviewed-on: http://gerrit.cloudera.org:8080/21649
Reviewed-by: Yida Wu <wy...@gmail.com>
Reviewed-by: Riza Suminto <ri...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
be/src/runtime/query-exec-mgr.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/runtime/query-exec-mgr.cc b/be/src/runtime/query-exec-mgr.cc
index 262f47a6f..d9b82461d 100644
--- a/be/src/runtime/query-exec-mgr.cc
+++ b/be/src/runtime/query-exec-mgr.cc
@@ -267,7 +267,7 @@ void QueryExecMgr::CancelQueriesForFailedCoordinators(
void QueryExecMgr::CancelFromThreadPool(const QueryCancellationTask& cancellation_task) {
QueryState* qs = cancellation_task.GetQueryState();
- VLOG(1) << "CancelFromThreadPool(): cancel query " << qs->query_id();
+ VLOG(1) << "CancelFromThreadPool(): cancel query " << PrintId(qs->query_id());
qs->Cancel();
qs->is_coord_active_.Store(false);
ReleaseQueryState(qs);