Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HIVE-28661: OTEL: Latency in retrieving query end time leads to threa… #5576

Merged
merged 3 commits into from
Dec 12, 2024

Conversation

tanishq-chugh
Copy link
Contributor

…d interruption

What changes were proposed in this pull request?

Changes to address OTEL thread running into NullPointerException

Why are the changes needed?

Needed to ensure the OTEL thread does not get interrupted in case of NullPointerException arising because query end time is not available at the time it is fetched. Additionally, a try-catch block is introduced to avoid OTEL thread interruption.

Does this PR introduce any user-facing change?

No

Is the change a dependency upgrade?

No

How was this patch tested?

Manual testing, by running the OTEL service with Jaeger and Zipkin recievers.

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comment, rest LGTM

Copy link
Member

@ayushtkn ayushtkn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link

@ayushtkn ayushtkn merged commit dc28391 into apache:master Dec 12, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants