Skip to content

[receiver/apachespark] Skip SKIPPED status #39955

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NN---
Copy link

@NN--- NN--- commented May 8, 2025

Description

Do not log warning on SKIPPED status.
SKIPPED is a known Spark status.

Testing

Manually tested.

Documentation

Not needed.

@NN--- NN--- requested a review from a team as a code owner May 8, 2025 20:18
@NN--- NN--- requested a review from dmitryax May 8, 2025 20:18
@@ -262,6 +262,8 @@ func (s *sparkScraper) recordStages(stageStats []models.Stage, now pcommon.Times
s.mb.RecordSparkStageStatusDataPoint(now, 0, false, false, true, false)
case "FAILED":
s.mb.RecordSparkStageStatusDataPoint(now, 0, false, false, false, true)
case "SKIPPED":
continue
Copy link
Contributor

Choose a reason for hiding this comment

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

should we record it then?

Copy link
Author

Choose a reason for hiding this comment

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

The problem is that SKIPPED is not a real record.
It means that this was already done.

So adding it as a record actually misleading.

Copy link
Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Thank you for your clarification.

@atoulme
Copy link
Contributor

atoulme commented May 9, 2025

@mrsillydog @Caleb-Hurshman please review as codeowners.

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