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

Only generate Javadocs for latest Spark runner version (Spark 3) #17793

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

mosche
Copy link
Member

@mosche mosche commented Jun 1, 2022

The process of aggregating Javadocs is a bit sketchy in cases where source sets are shared. Particularly that’s the case for Spark and Flink runners.

Considering that everything is thrown into one bucket, we could easily end up with an inconsistent and misleading mix of Javadocs from multiple versions due to version specific overrides.

This disables Javadocs for the Spark2 runner so that aggregateJavadoc doesn't fail.


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

  • Choose reviewer(s) and mention them in a comment (R: @username).
  • Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
  • 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

See CI.md for more information about GitHub Actions CI.

@mosche mosche changed the title Only generate Javadocs for latest Spark runner version (Spark 3) to f… Only generate Javadocs for latest Spark runner version (Spark 3) Jun 1, 2022
@mosche mosche requested a review from y1chi June 1, 2022 09:24
@mosche
Copy link
Member Author

mosche commented Jun 1, 2022

@y1chi sorry for breaking that... here's what I'd suggest to fix the problem.

@y1chi
Copy link
Contributor

y1chi commented Jun 1, 2022

Run Java PreCommit

Copy link
Contributor

@y1chi y1chi left a comment

Choose a reason for hiding this comment

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

LGTM

@y1chi
Copy link
Contributor

y1chi commented Jun 1, 2022

Run Javadoc PostCommit

@y1chi y1chi merged commit 62d97cf into apache:master Jun 1, 2022
@mosche mosche deleted the DisableSpark2Javadocs branch June 2, 2022 04:25
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.

None yet

2 participants