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

Add MetricsContainer support to the Flink sources. #28609

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

jto
Copy link
Contributor

@jto jto commented Sep 22, 2023

This is an updated version of the abandonned #25753.
I simply rebased master in the original PR and reviewed the code.

fixes #25741


Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

  • Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
  • Update CHANGES.md with noteworthy changes.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md

GitHub Actions Tests Status (on master branch)

Build python source distribution and wheels
Python tests
Java tests
Go tests

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

@jto
Copy link
Contributor Author

jto commented Sep 22, 2023

The failing test is running fine on my machine. I think the test is just flaky. It would probably succeed if someone just re-triggers it.

@github-actions
Copy link
Contributor

Checks are failing. Will not request review until checks are succeeding. If you'd like to override that behavior, comment assign set of reviewers

@jto
Copy link
Contributor Author

jto commented Sep 27, 2023

assign set of reviewers

@github-actions
Copy link
Contributor

Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:

R: @johnjcasey added as fallback since no labels match configuration

Available commands:

  • stop reviewer notifications - opt out of the automated review tooling
  • remind me after tests pass - tag the comment author after tests pass
  • waiting on author - shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)

The PR bot will only process comments in the main thread (not review comments).

Copy link
Member

@kennknowles kennknowles left a comment

Choose a reason for hiding this comment

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

Seems good to me generally. I made coding comments but I don't want to stand in the way of making things better, since it is it all under-the-hood stuff anyhow.

@jto jto marked this pull request as draft September 27, 2023 15:12
@jto jto marked this pull request as ready for review September 27, 2023 15:37
@jto
Copy link
Contributor Author

jto commented Sep 28, 2023

@kennknowles I made the fix you requested. The test fails when publishing the results with the following error:

Error: Error processing result file: CData section too big found, line 92832, column 19 (TEST-org.apache.beam.sdk.transforms.ViewTest.xml, line 92832)

It seems unrelated to this change. Would you happen to know if I can do anything to fix this problem ?

@tvalentyn
Copy link
Contributor

clicked to rerun the tests, maybe a flake?

@jto
Copy link
Contributor Author

jto commented Oct 5, 2023

Thanks @tvalentyn. It failed with the same error so I guess it's deterministic...

@github-actions
Copy link
Contributor

Reminder, please take a look at this pr: @johnjcasey

@tvalentyn
Copy link
Contributor

waiting on author

@tvalentyn
Copy link
Contributor

Actually, looking at the test execution, it passed:

BUILD SUCCESSFUL in 31s
103 actionable tasks: 64 executed, 39 from cache

Publishing build scan...
https://ge.apache.org/s/a7mu5k567st5o

and fails later. I am fine with filing a separate issue about test reporting, and merge this.

@tvalentyn
Copy link
Contributor

@jto do you prefer to merge it or you'd like to work more on 4296688 ? Perhaps we should move out that commit into a separate PR to make sure we don't make the situation worse in this PR.

@jto
Copy link
Contributor Author

jto commented Oct 16, 2023

@tvalentyn thanks!
I don't really know how to fix the build failure. It indeed fails when publishing the build results while all tests are green. I don't know why this PR in particular breaks the build. Seems to be something about the size of an XML file so if you wish to merge this and address the issue in another PR, please feel free to do it :) I'm sure someone more familiar with the build itself will know how to fix this.

@github-actions
Copy link
Contributor

Reminder, please take a look at this pr: @johnjcasey

@tvalentyn tvalentyn merged commit 8a2ed4d into apache:master Oct 24, 2023
44 of 47 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.

[Task]: Add MetricsContainer support in the FLIP-27 sources in Flink runner.
3 participants