You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Arnab Karmakar (Code Review)" <ge...@cloudera.org> on 2026/02/20 07:06:51 UTC
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Arnab Karmakar has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24008
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-test.cc
M be/src/observe/otel.cc
M be/src/observe/otel.h
M be/src/observe/span-manager.cc
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
11 files changed, 222 insertions(+), 7 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 4:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/21923/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 4
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 04:45:08 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 9:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/22464/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 9
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Sat, 16 May 2026 07:42:01 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 3:
(12 comments)
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc
File be/src/observe/otel-test.cc:
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc@477
PS3, Line 477: TEST(OtelTest, ProcessRequestIdForAttribute) {
This test belongs in otel-trace-manager-test.cc (patch https://gerrit.cloudera.org/c/24084/).
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc
File be/src/observe/otel.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc@391
PS1, Line 391: return otel_tls_enabled();
: }
:
: OtlpHttpExporterOptions get_http_exporter_config() {
: return http_exporter_config();
: }
:
: BatchSpanProcessorOptions get_batch_processor_config() {
: return batch_processor_config();
: }
:
: unique_ptr<SpanExporter> get_exporter() {
: return init_exporter();
: }
:
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc
File be/src/observe/span-manager.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@36
PS1, Line 36: #include "observe/timed-span.h"
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@59
PS1, Line 59: static constexpr char const* ATTR_QUERY_START_TIME = "QueryStartTime";
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@147
PS1, Line 147: string suffix = request_id.substr(last_hyphen + 1);
> Yes, I think the protobuf code does copy the string, BUT the copy happens i
Ah, I see now. In that case, it would be easier to call root_->SetAttribute() after 'root_' is initialized (if a http request id was specified in the header).
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@448
PS1, Line 448: """Asserts that when X-Request-Id header is provided via hs2-http protocol,
> Ive simplified the tests but I think ImpalaHS2Client is necessary because t
I like this simplified approach especially how it automatically matches what Impala shell (and possibly Impyla) is doing.
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@496
PS1, Line 496: new flags."""
:
: @CustomClusterTestSuite.with_args(
: impalad_args="-v=2 --cluster_id=select_queued --default_pool_max_requests=1 {}"
: .format(TRACE_FLAGS),
: cluster_size=1, tmp_dir_placeholders=[OUT_DIR], disable_log_buffering=True)
: def test_select_queued(self):
: """Asserts a query that is queued in admission control then completes successfully
: generates the expected trace."""
: # Launch two queries, the second will be queued until the first completes.
: query = "SELECT * FROM functional.alltypes WHERE id = 1"
: handle1 = self.client.execute_async("{} AND int_col = SLEEP(5000)".format(query))
: self.client.wait_for_impala_state(handle1, RUNNING, 60)
: query_id_1 = self.client.handle_id(handle1)
:
: handle2 = self.client.execute_async(query)
: query_id_2 = self.client.handle_id(handle2)
:
: self.client.wait_for_impala_state(handle1, FINISHED, 60)
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@475
PS3, Line 475: trace = parse_trace_file(self.trace_file_path, query_id)
To keep consistent, since all other tests in here use 'assert_trace' as the entrypoint into the functionality container in otel_trace.py, please avoid calling parse_trace_file() from this file.
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@477
PS3, Line 477: assert "HttpRequestId" in trace.root_span.attributes, \
: "Root span should have HttpRequestId attribute. Available: {}".format(
: list(trace.root_span.attributes.keys()))
This assertion needs to be done in otel_trace.py since that is where all span attributes are asserted.
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@481
PS3, Line 481: http_request_id = trace.root_span.attributes["HttpRequestId"].value
Since these tests are asserting the values of attributes in the generated spans, the tests cannot use the generated span as the source of expected values. The expected http_request_id needs to come preferably from the client but could also come from reading the Impalad logs.
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@685
PS3, Line 685: {}
Nit: wrap with single quotes -- Expected: '{}', Actual: '{}'
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@705
PS3, Line 705: INITIALIZED, log_file_path, root_span_id)
Need to also assert the value of the "HttpRequestId" attribute in the init span matches the value in the 'http_request_id' variable.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Tue, 10 Mar 2026 22:15:35 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#5).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
10 files changed, 239 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/5
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 5
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 3: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 Mar 2026 22:03:54 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 1:
(6 comments)
Thanks for the comments
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc
File be/src/observe/otel.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc@391
PS1, Line 391: size_t last_hyphen = processed.rfind('-');
: if (last_hyphen != string::npos && last_hyphen < processed.length() - 1) {
: // Check if everything after the last hyphen is a digit
: bool all_digits = true;
: for (size_t i = last_hyphen + 1; i < processed.length(); ++i) {
: if (!isdigit(processed[i])) {
: all_digits = false;
: break;
: }
: }
: // If all digits after the last hyphen, remove it (it's the iteration count)
: if (all_digits) {
: processed = processed.substr(0, last_hyphen);
: }
: }
> There is a potential issue here. UUIDs are not guaranteed to have letters
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc
File be/src/observe/span-manager.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@36
PS1, Line 36: #include "observe/otel.h"
> I don't want the span-manager.h/.cc files to have a dependency on the otel.
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@59
PS1, Line 59: static constexpr char const* ATTR_HTTP_REQUEST_ID = "HttpRequestId";
> This attribute also needs to be set on the Init span.
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@147
PS1, Line 147: // Store all string attributes outside the map to ensure string lifetime.
> Was there a specific issue you ran into that necessitated this code change?
Yes, I think the protobuf code does copy the string, BUT the copy happens inside the TimedSpan constructor when StartSpan is called. Between the time we create the map and when we call StartSpan, the temporaries are getting corrupted if we use a named variable for the map. I feel we CANNOT use a named variable for the map if it contains temporaries - it must be an inline temporary that lives for the entire full expression.
In the original code: Temporaries created -> Map constructed -> Passed immediately to TimedSpan constructor -> Protobuf copies -> Temporaries destroyed
With the new changes, where we need a named variable for conditionally adding HttpRequestId:
OtelAttributesMap root_attributes = { /* temporaries */ }; // <- temporaries destroyed HERE
if (!processed_request_id.empty()) {
root_attributes[ATTR_HTTP_REQUEST_ID] = ...; // <- accessing map with corrupted string_views
}
root_ = make_shared<TimedSpan>(..., std::move(root_attributes), ...); // <- protobuf copies from dangling pointers
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@448
PS1, Line 448: def test_http_request_id_attribute(self):
> Most of the code in this class could be replaced by `calling self.execute_q
Ive simplified the tests but I think ImpalaHS2Client is necessary because the built-in hs2_http_client doesn't support http_tracing=True
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@496
PS1, Line 496:
: http_request_id = trace.root_span.attributes["HttpRequestId"].value
:
: # Verify UUID format (8-4-4-4-12 hex digits with hyphens, 36 chars total)
: assert len(http_request_id) == 36, \
: "HttpRequestId should be 36 characters, got: {}".format(len(http_request_id))
:
: parts = http_request_id.split('-')
: expected_parts_lengths = [8, 4, 4, 4, 12]
: assert len(parts) == len(expected_parts_lengths), \
: "HttpRequestId should have {} parts, got: {}".format(
: len(expected_parts_lengths), len(parts))
:
: for i, expected_len in enumerate(expected_parts_lengths):
: assert len(parts[i]) == expected_len, \
: "HttpRequestId part {} should have length {}, got: {}".format(
: i, expected_len, len(parts[i]))
: assert all(c in '0123456789abcdefABCDEF' for c in parts[i]), \
: "HttpRequestId part {} should contain only hex digits".format(i)
> Please investigate if the uuid library's `UUID` function can do this valida
Done
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 Mar 2026 17:43:15 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#7).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/observe/otel-trace-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 254 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/7
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#6).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/observe/otel-trace-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 251 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/6
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 6
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 9: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 9
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Mon, 18 May 2026 16:12:40 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11: Verified+1
Agreed.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 03 Jun 2026 17:46:07 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7: Code-Review+1
(4 comments)
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py@532
PS6, Line 532: # Python implementation of process_request_id_for_attribute
: def process_request_id_py(request_id):
: if not request_id:
: return ""
: last_hyphen = request_id.rfind('-')
: if last_hyphen == -1:
: return request_id
: return request_id[:last_hyphen]
:
: # Create hs2-http client with http_tracing enabled to send X-Request-Id headers
: impalad_service = self.cluster.impalads[0].service
: client = ImpalaHS2
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@675
PS6, Line 675: __assert_attr(span.name, span.attributes, "UserName", user_name)
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@680
PS6, Line 680: assert_attr(span.name, span.attributes, "Coordinator", coordinator)
:
: # If http_request_id is expected, validate it exists and matches the expected value
: if http_request_id is not None:
: assert "HttpRequestId" in span.attrib
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@721
PS6, Line 721: original_query_id)
> Done
Done
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 19 Mar 2026 21:55:55 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#3).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-test.cc
M be/src/observe/span-manager.cc
M be/src/observe/span-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 254 insertions(+), 18 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/3
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 4:
(6 comments)
Submitted the patch along with the changes of the patches for
IMPALA-14370
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc
File be/src/observe/otel-test.cc:
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc@477
PS3, Line 477:
> This test belongs in otel-trace-manager-test.cc (patch https://gerrit.cloud
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc
File be/src/observe/span-manager.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@147
PS1, Line 147:
> Ah, I see now. In that case, it would be easier to call root_->SetAttribut
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@475
PS3, Line 475: TCLIService.TStatusCode.SUCCESS_WITH_INFO_STATUS)
> To keep consistent, since all other tests in here use 'assert_trace' as the
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@477
PS3, Line 477:
: # Run a GetColumns() operation.
: get_cols_req = TCLIService.TGetColumnsReq(
> This assertion needs to be done in otel_trace.py since that is where all sp
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@685
PS3, Line 685: eq
> Nit: wrap with single quotes -- Expected: '{}', Actual: '{}'
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@705
PS3, Line 705: __assert_scopespan_common(init_span, query_id, False, "Init", expected_attr_count,
> Need to also assert the value of the "HttpRequestId" attribute in the init
Done
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 4
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 04:33:47 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 6:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/21925/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 6
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 06:13:53 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 6: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 6
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 10:45:58 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#4).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
10 files changed, 238 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/4
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 4
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp
File be/src/transport/THttpServer.cpp:
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp@295
PS7, Line 295: string request_id = header_x_request_id_;
Use swap to avoid the copy, and reset the value at the same time.
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp@298
PS7, Line 298: header_x_request_id_ = "";
I'm not clear why this needs to be reset now. Do we end up with it bleeding into later messages?
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Thu, 26 Mar 2026 18:12:35 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 10: Code-Review+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 10
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Tue, 19 May 2026 14:36:42 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Reviewed-on: http://gerrit.cloudera.org:8080/24008
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Michael Smith <mi...@cloudera.com>
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/observe/otel-trace-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 254 insertions(+), 14 deletions(-)
Approvals:
Impala Public Jenkins: Looks good to me, approved
Michael Smith: Verified
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 12
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/21933/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 13 Mar 2026 05:22:54 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 3:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13212/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 Mar 2026 17:46:57 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 3:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/21896/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 3
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Mon, 09 Mar 2026 18:08:40 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#8).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/observe/otel-trace-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 252 insertions(+), 11 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/8
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 8
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13568/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 03 Jun 2026 16:36:43 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11:
Build failed due to: IMPALA-14182
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 03 Jun 2026 01:58:29 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 1:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13102/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 20 Feb 2026 07:15:24 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/13565/
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Wed, 03 Jun 2026 01:19:32 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 8:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/22039/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 8
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 04:32:06 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 9:
(1 comment)
http://gerrit.cloudera.org:8080/#/c/24008/8/be/src/transport/THttpServer.cpp
File be/src/transport/THttpServer.cpp:
http://gerrit.cloudera.org:8080/#/c/24008/8/be/src/transport/THttpServer.cpp@286
PS8, Line 286: StripWhiteSpace(&origin);
> nit: we could also use swap here.
Done
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 9
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Sat, 16 May 2026 07:21:17 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7:
(4 comments)
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py@532
PS6, Line 532: # Python implementation of process_request_id_for_attribute
: def process_request_id_py(request_id):
: if not request_id:
: return ""
: last_hyphen = request_id.rfind('-')
: if last_hyphen == -1:
: return request_id
: return request_id[:last_hyphen]
:
: # Create hs2-http client with http_tracing enabled to send X-Request-Id headers
: impalad_service = self.cluster.impalads[0].service
: client = ImpalaHS2
> I like the thoroughness of this function, but it seems like more than is ne
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@675
PS6, Line 675: __assert_attr(span.name, span.attributes, "UserName", user_name)
> This if statement needs an else assert "HttpRequestId" not in init_span.att
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@680
PS6, Line 680: assert_attr(span.name, span.attributes, "Coordinator", coordinator)
:
: # If http_request_id is expected, validate it exists and matches the expected value
: if http_request_id is not None:
: assert "HttpRequestId" in span.attrib
> Please move this validation up into the assert_trace function so that inval
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@721
PS6, Line 721: original_query_id)
> This if statement needs an else assert "HttpRequestId" not in init_span.att
Done
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 13 Mar 2026 04:56:29 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 6:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13224/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 6
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 06:18:50 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Hello Jason Fehr, Michael Smith, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/24008
to look at the new patch set (#9).
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
When using the hs2-http protocol, the X-Request-Id HTTP header value
is now captured and added as an attribute named "HttpRequestId" on the
root OpenTelemetry span. The iteration count suffix (e.g., "-8" in
"uuid-8") that the Impala shell appends is automatically removed to
provide a clean UUID for tracing.
Implementation details:
- Capture X-Request-Id header in THttpServer and store in ConnectionContext
- Propagate value to SessionState during session creation
- Add HttpRequestId attribute to root span in SpanManager constructor
Testing:
- Added C++ unit tests (otel-test.cc) for request ID processing
- Added Python integration test using ImpalaHS2Client over hs2-http
- Test verifies HttpRequestId attribute format and cross-checks with logs
Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
---
M be/src/observe/otel-trace-manager-test.cc
M be/src/observe/otel-trace-manager.cc
M be/src/observe/otel-trace-manager.h
M be/src/rpc/authentication.cc
M be/src/rpc/thrift-server.h
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.h
M be/src/transport/THttpServer.cpp
M be/src/transport/THttpServer.h
M tests/custom_cluster/test_otel_trace.py
M tests/util/otel_trace.py
11 files changed, 254 insertions(+), 14 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/24008/9
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 9
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has removed a vote on this change.
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Removed Verified-1 by Impala Public Jenkins <im...@cloudera.com>
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 1:
(6 comments)
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc
File be/src/observe/otel.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/otel.cc@391
PS1, Line 391: size_t last_hyphen = processed.rfind('-');
: if (last_hyphen != string::npos && last_hyphen < processed.length() - 1) {
: // Check if everything after the last hyphen is a digit
: bool all_digits = true;
: for (size_t i = last_hyphen + 1; i < processed.length(); ++i) {
: if (!isdigit(processed[i])) {
: all_digits = false;
: break;
: }
: }
: // If all digits after the last hyphen, remove it (it's the iteration count)
: if (all_digits) {
: processed = processed.substr(0, last_hyphen);
: }
: }
There is a potential issue here. UUIDs are not guaranteed to have letters in all portions. It's highly unlikely, but a UUID such as "a6dd52ba-18d1-11f1-ba97-665407384305" is possible. Given this UUID, the code will return "a6dd52ba-18d1-11f1-ba97". Per RFC9562, we can assume any provided request_id will be a UUID in string hex-and-dash format and thus will contain hyphens.
https://datatracker.ietf.org/doc/html/rfc9562#:~:text=When%20in%20use%20with%20URNs%20or%20as%20text%20in%20applications%2C%20any%20given%20UUID%20should%20be%20represented%20by%20the%20%22hex%2Dand%2Ddash%22%20string%20format%20consisting%20of%20multiple%20groups%20of%20uppercase%20or%20lowercase%20alphanumeric%20hexadecimal%20characters%20separated%20by%20single%20dashes/hyphens
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc
File be/src/observe/span-manager.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@36
PS1, Line 36: #include "observe/otel.h"
I don't want the span-manager.h/.cc files to have a dependency on the otel.h/.cc files. It creates circular dependencies which make the code much more difficult to reason about.
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@59
PS1, Line 59: static constexpr char const* ATTR_HTTP_REQUEST_ID = "HttpRequestId";
This attribute also needs to be set on the Init span.
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@147
PS1, Line 147: // Store all string attributes outside the map to ensure string lifetime.
Was there a specific issue you ran into that necessitated this code change? The contents of the key and value nostd::string_view are copied into new std::string objects while the Span object is being constructed. The string creation happens in the generated common.pb.h file
inline void KeyValue::set_key(const char* value,
size_t size) {
key_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
reinterpret_cast<const char*>(value), size), GetArena());
// @@protoc_insertion_point(field_set_pointer:opentelemetry.proto.common.v1.KeyValue.key)
}
inline void AnyValue::set_string_value(const char* value,
size_t size) {
if (!_internal_has_string_value()) {
clear_value();
set_has_string_value();
value_.string_value_.UnsafeSetDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited());
}
value_.string_value_.Set(
::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, ::std::string(
reinterpret_cast<const char*>(value), size),
GetArena());
// @@protoc_insertion_point(field_set_pointer:opentelemetry.proto.common.v1.AnyValue.string_value)
}
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@448
PS1, Line 448: def test_http_request_id_attribute(self):
Most of the code in this class could be replaced by `calling self.execute_query_expect_failure(self.hs2_http_client, query)` and then adding an optional parameter for the request id to the `assert_trace` function in `otel_trace.py` -- https://github.com/apache/impala/blob/24611f7dba77723a805518a09ca6e334c4794796/tests/util/otel_trace.py#L361
http://gerrit.cloudera.org:8080/#/c/24008/1/tests/custom_cluster/test_otel_trace.py@496
PS1, Line 496:
: http_request_id = trace.root_span.attributes["HttpRequestId"].value
:
: # Verify UUID format (8-4-4-4-12 hex digits with hyphens, 36 chars total)
: assert len(http_request_id) == 36, \
: "HttpRequestId should be 36 characters, got: {}".format(len(http_request_id))
:
: parts = http_request_id.split('-')
: expected_parts_lengths = [8, 4, 4, 4, 12]
: assert len(parts) == len(expected_parts_lengths), \
: "HttpRequestId should have {} parts, got: {}".format(
: len(expected_parts_lengths), len(parts))
:
: for i, expected_len in enumerate(expected_parts_lengths):
: assert len(parts[i]) == expected_len, \
: "HttpRequestId part {} should have length {}, got: {}".format(
: i, expected_len, len(parts[i]))
: assert all(c in '0123456789abcdefABCDEF' for c in parts[i]), \
: "HttpRequestId part {} should contain only hex digits".format(i)
Please investigate if the uuid library's `UUID` function can do this validation for us.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 05 Mar 2026 23:47:30 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Jason Fehr (Code Review)" <ge...@cloudera.org>.
Jason Fehr has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 6:
(11 comments)
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc
File be/src/observe/otel-test.cc:
http://gerrit.cloudera.org:8080/#/c/24008/3/be/src/observe/otel-test.cc@477
PS3, Line 477:
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc
File be/src/observe/span-manager.cc:
http://gerrit.cloudera.org:8080/#/c/24008/1/be/src/observe/span-manager.cc@147
PS1, Line 147:
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@475
PS3, Line 475: TCLIService.TStatusCode.SUCCESS_WITH_INFO_STATUS)
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@477
PS3, Line 477:
: # Run a GetColumns() operation.
: get_cols_req = TCLIService.TGetColumnsReq(
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/custom_cluster/test_otel_trace.py@481
PS3, Line 481: schemaName="functional",
> Since these tests are asserting the values of attributes in the generated s
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py
File tests/custom_cluster/test_otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/custom_cluster/test_otel_trace.py@532
PS6, Line 532: # Python implementation of process_request_id_for_attribute
: def process_request_id_py(request_id):
: if not request_id:
: return ""
: processed = request_id
: last_hyphen = processed.rfind('-')
: if last_hyphen != -1 and last_hyphen < len(processed) - 1:
: suffix = processed[last_hyphen + 1:]
: # UUID last segment is always 12 hex characters
: if len(suffix) != 12 and suffix.isdigit():
: processed = processed[:last_hyphen]
: return processed
I like the thoroughness of this function, but it seems like more than is necessary for a test. I think a better approach would be to keep everything up until the last hyphen. The code would be simpler, and the tests may also surface other issues.
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@685
PS3, Line 685:
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/3/tests/util/otel_trace.py@705
PS3, Line 705: expected_attr_count = 10 if http_request_id is not None else 9
> Done
Done
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@675
PS6, Line 675: if http_request_id is not None:
This if statement needs an else assert "HttpRequestId" not in init_span.attributes to ensure that attribute was not set when it should not have been set.
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@680
PS6, Line 680: try:
: UUID(actual_http_request_id)
: except ValueError as e:
: assert False, "HttpRequestId should be a valid UUID, got: {}. Error: {}".format(
: actual_http_request_id, str(e))
Please move this validation up into the assert_trace function so that invalid UUIDs get caught as early as possible.
http://gerrit.cloudera.org:8080/#/c/24008/6/tests/util/otel_trace.py@721
PS6, Line 721: if http_request_id is not None:
This if statement needs an else assert "HttpRequestId" not in init_span.attributes to ensure that attribute was not set when it should not have been set.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 6
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 20:39:38 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 1: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 20 Feb 2026 12:05:24 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 1:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/21717/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 1
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 20 Feb 2026 07:35:21 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Arnab Karmakar (Code Review)" <ge...@cloudera.org>.
Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 8:
(2 comments)
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp
File be/src/transport/THttpServer.cpp:
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp@295
PS7, Line 295: string request_id;
> Use swap to avoid the copy, and reset the value at the same time.
Done
http://gerrit.cloudera.org:8080/#/c/24008/7/be/src/transport/THttpServer.cpp@298
PS7, Line 298:
> I'm not clear why this needs to be reset now. Do we end up with it bleeding
Reset is necessary because THttpServer instances are reused across multiple HTTP requests. Also follows the same pattern as the origin_ handling just above it.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 8
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 04:04:42 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 8: Code-Review+1
(1 comment)
http://gerrit.cloudera.org:8080/#/c/24008/8/be/src/transport/THttpServer.cpp
File be/src/transport/THttpServer.cpp:
http://gerrit.cloudera.org:8080/#/c/24008/8/be/src/transport/THttpServer.cpp@286
PS8, Line 286: origin_ = "";
nit: we could also use swap here.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 8
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Fri, 27 Mar 2026 15:44:19 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 4:
(1 comment)
gerrit-auto-critic failed. You can reproduce it locally using command:
python3 bin/jenkins/critique-gerrit-review.py --dryrun
To run it, you might need a virtual env with Python3's venv installed.
http://gerrit.cloudera.org:8080/#/c/24008/4/tests/util/otel_trace.py
File tests/util/otel_trace.py:
http://gerrit.cloudera.org:8080/#/c/24008/4/tests/util/otel_trace.py@364
PS4, Line 364: n
flake8: E501 line too long (94 > 90 characters)
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 4
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 04:34:17 +0000
Gerrit-HasComments: Yes
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 5:
Build Failed
https://jenkins.impala.io/job/gerrit-code-review-checks/21924/ : Initial code review checks failed. See linked job for details on the failure.
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 5
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 04:49:41 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 5:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13223/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 5
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 04:36:35 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 5: Verified-1
Build failed: https://jenkins.impala.io/job/gerrit-verify-dryrun/13223/
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 5
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Thu, 12 Mar 2026 07:02:19 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13228/ DRY_RUN=true
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 13 Mar 2026 04:56:58 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 7: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 7
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Comment-Date: Fri, 13 Mar 2026 09:13:13 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Michael Smith (Code Review)" <ge...@cloudera.org>.
Michael Smith has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 10: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 10
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:50:11 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/13565/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:50:28 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/24008 )
Change subject: IMPALA-14332: Add X-Request-Id as HttpRequestId attribute on root OTel span
......................................................................
Patch Set 11: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/24008
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9e14f5b503ff7379463332bae34c266afc395524
Gerrit-Change-Number: 24008
Gerrit-PatchSet: 11
Gerrit-Owner: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Arnab Karmakar <ar...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Jason Fehr <jf...@cloudera.com>
Gerrit-Reviewer: Michael Smith <mi...@cloudera.com>
Gerrit-Comment-Date: Tue, 02 Jun 2026 20:50:27 +0000
Gerrit-HasComments: No