impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Armstrong (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-6151: add query-level fragment/backend counters
Date Sat, 04 Nov 2017 00:39:14 GMT
Tim Armstrong has posted comments on this change. ( )

Change subject: IMPALA-6151: add query-level fragment/backend counters

Patch Set 2:

File be/src/service/
PS2, Line 993:   RETURN_IF_ERROR(CancelInternal(query_id, check_inflight, cause));
> What if we hit an error here? Need to still maintain the metric.
The only reason CancelInternal() can fail is if the query isn't registered - otherwise this
would be really broken.

By decrementing it below we're keeping the count in sync with the entries in client_request_state_map_,
which seems better.
PS2, Line 1008:   ImpaladMetrics::NUM_QUERIES_REGISTERED->Increment(-1L);
> To be most accurate, shouldn't we move this to the end of this function? Th
File common/thrift/metrics.json:
PS2, Line 477:     "label": "Queries Registered",
> Imo we need to be careful with terminology. Our query states are already ha
I added to the description. I agree that we should be careful here - I picked this definition
of queries since it's the most expansive and doesn't depend on the different query states

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3df350414733e98d1ec28adc1c98f45bb0c4e3e9
Gerrit-Change-Number: 8461
Gerrit-PatchSet: 2
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Mostafa Mokhtar <>
Gerrit-Reviewer: Thomas Tauber-Marshall <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Comment-Date: Sat, 04 Nov 2017 00:39:14 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message